Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/julien-marcou/tarot-bot
https://github.com/julien-marcou/tarot-bot
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/julien-marcou/tarot-bot
- Owner: Julien-Marcou
- Created: 2022-06-20T10:50:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-10T10:17:47.000Z (9 months ago)
- Last Synced: 2024-02-10T11:24:52.612Z (9 months ago)
- Language: TypeScript
- Homepage:
- Size: 300 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tarot Bot
## Requirements
- Node.js `v18`
## Setup
- `npm install`
## Dev
- `npm run watch`
## Lint
- `npm run lint`
- `npm run lint -- --fix`## Prod
- `npm run build`
- `npm run start`## Get started
The `src/game.ts` file contain the logic to communicate between your AI and the server during a game. It also contains the settings of the game your AI is about to play.
The `src/artificial-intelligence.ts` file contain your Artificial Intelligence's logic to react to the game events.
You can fin the list of events:
- you can listen to in `src/models/events/listen.events.ts`
- you can emit in `src/models/events/emit.events.ts`