概要
🔴🔵 Connect Four game in JS + Canvas
ゲーム・エミュレーター計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルc4
c4, stands for Connect Four, is a browser game written in TypeScript and utilizes HTML's canvas. Player is playing against an AI that uses Minimax algorithm and alpha-beta pruning. The evaluation function is hard-coded, and hence the AI may not be moving using the most optimal move.
Play
Gameplay
Objective
Connect four of your game pieces vertically, horizontally, or diagonally before the other player do so.
How to move?
At each turn, player will drop a game piece in one of the seven columns by clicking on the chosen column.
More info
Read Wikipedia page on Connect Four
Browser compatibility
Should be good in latest Firefox, Edge, Chrome, and Safari.
Contributing
Contributions are welcome! I'm happy to accept any kind of contributions, pull requests, or bug reports.
Developing
- Fork and clone this repository
- Install dependencies
yarn install
- Start local development server
yarn start
- Make your changes at either
browser/,core/, orserver/ - Test it out at http://localhost:5173/
- After you are happy with your changes, please submit your Pull Request!
License
This work is licensed under MIT License.
関連プロジェクトを探す
読み込み中…