Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yonle/dandelions-irc-bot
An IRC bot that plays 2 player game called dandelions
https://github.com/yonle/dandelions-irc-bot
Last synced: about 1 month ago
JSON representation
An IRC bot that plays 2 player game called dandelions
- Host: GitHub
- URL: https://github.com/yonle/dandelions-irc-bot
- Owner: Yonle
- License: bsd-3-clause
- Created: 2024-02-14T06:27:23.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-02-14T07:50:59.000Z (9 months ago)
- Last Synced: 2024-02-15T07:37:42.000Z (9 months ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
dandelionbot
============
An IRC bot that plays 2 player game called dandelion
Based on https://mathwithbaddrawings.com/dandelionsYonle: Dandelion, It's your turn.
1 2 3 4 5 Wind Directions
---------------------- N
A| | | | | | |
---------------------- NW | NE
B| | | | | | |
---------------------- |
C| | | | | | W -------+------- E
---------------------- |
D| | | | | | |
---------------------- SW | SE
E| | | | | | |
---------------------- S
<~Yonle> C1
Yonle: Wind, It's your turn.
1 2 3 4 5 Wind Directions
---------------------- N
A| | | | | | |
---------------------- NW | NE
B| | | | | | |
---------------------- |
C| * | | | | | W -------+------- E
---------------------- |
D| | | | | | |
---------------------- SW | SE
E| | | | | | |
---------------------- S
<~Yonle> NE
Yonle: Dandelion, It's your turn.
1 2 3 4 5 Wind Directions
---------------------- N
A| | | , | | | |
---------------------- NW |
B| | , | | | | |
---------------------- |
C| * | | | | | W -------+------- E
---------------------- |
D| | | | | | |
---------------------- SW | SE
E| | | | | | |
---------------------- SRunning
=======
You will need a NodeJS v16+ installed in your operating system.Before running, Please edit the config.js file accordingly.
Once that all being set, Run the following command to start the bot:
$ node index.jsPlaying the game
================
The bot has 3 commands being implemented:
* !dandelion [nick] (col) (rows) - Play as dandelion with target player as wind
* !wind [nick] (col) (rows) - Play as wind with target player as dandelion
* !destroy - Destroy the current match