Skip to content

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slot Game Backend

This project contains the backend logic for a simple slot machine game. It is written in TypeScript and uses object-oriented principles to simulate spins and calculate payouts based on a predefined game configuration.

Getting Started

Prerequisites

  • Node.js (version 12 or later recommended)
  • npm (usually comes with Node.js)

Installation

Clone the repository to your local machine:

git clone https://github.com/yourusername/slot-game-backend.git
cd slot-game-backend

Install the required npm packages:

npm install

Compile TypeScript

npx tsc

Running the Game

To run a single spin of the slot game:

npm start

Project Structure

├── LICENSE
├── README.md
├── package-lock.json
├── package.json
├── src
|  ├── index.ts
|  ├── models
|  ├── simulate.ts
|  ├── types
|  └── utils
└── tsconfig.json

About

A simple slot-game done using TypeScript

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages