Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mevdschee/typescript-tictactoe
TicTacToe written in TypeScript with minimax AI
https://github.com/mevdschee/typescript-tictactoe
browser-game game game-development minimax-algorithm typescript
Last synced: about 2 months ago
JSON representation
TicTacToe written in TypeScript with minimax AI
- Host: GitHub
- URL: https://github.com/mevdschee/typescript-tictactoe
- Owner: mevdschee
- License: mit
- Created: 2023-08-31T20:40:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-03T15:22:06.000Z (over 1 year ago)
- Last Synced: 2024-10-05T21:42:02.160Z (4 months ago)
- Topics: browser-game, game, game-development, minimax-algorithm, typescript
- Language: TypeScript
- Homepage:
- Size: 307 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TicTacToe in TypeScript
![screenshot](screenshot.png)
This is TicTacToe written in TypeScript. I ported the code from my previous [Python implementation](https://github.com/mevdschee/python-tictactoe).
### Quick start
Type the following commands to get started:
git clone [email protected]:mevdschee/typescript-tictactoe.git
cd typescript-tictactoe
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
nvm install node
npm install
npm run devNow use Visual Studio Code (with the TypeScript extension) to edit the content and see how the code is recompiled and the browser is reloaded when the code is saved.
### Motivation
I tried to make a small starter project for your/my own games. By cloning this starter you should be able to create more complex games. Check out [AceCardGames.com](https://www.acecardgames.com/) to get an idea of what you could be building and clone my small starter project and get creative with your own ideas and designs.