All Projects â†’ kenrick95 â†’ C4

kenrick95 / C4

Licence: mit
🔴🔵 Connect Four game in JS + Canvas

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to C4

Kaetram Open
An open-source 2D HTML5 adventure based off BrowserQuest (BQ).
Stars: ✭ 138 (-11.54%)
Mutual labels:  game-2d, html5-game, html5-canvas
One Html Page Challenge
Can you create something cool without modern tools?
Stars: ✭ 205 (+31.41%)
Mutual labels:  html5-game, html5-canvas
crazy racing
An html5 car-racing game
Stars: ✭ 16 (-89.74%)
Mutual labels:  html5-game, html5-canvas
Facebook-instan-games-SDK
Learn how to integrate games built with JavaScript and HTML5 with Facebook instant games SDK
Stars: ✭ 59 (-62.18%)
Mutual labels:  html5-game, html5-canvas
The Matrix Effect
The incredible effect of rain of letters in the style of the Matrix trilogy.
Stars: ✭ 109 (-30.13%)
Mutual labels:  html5-game, html5-canvas
Egret Core
Egret is a brand new open mobile game and application engine which allows you to quickly build mobile games and apps on Android,iOS and Windows.
Stars: ✭ 3,631 (+2227.56%)
Mutual labels:  html5-game, html5-canvas
snake-game-2D
The famous 2D snake game in which your goal is to eat until you get huge and accumulate many points.
Stars: ✭ 18 (-88.46%)
Mutual labels:  html5-canvas, game-2d
Dot-World-Maker
Online web role playing game (RPG) engine let you build your own game directly from your browser.
Stars: ✭ 25 (-83.97%)
Mutual labels:  html5-game, html5-canvas
Html5 Asteroids
Pure Javascript Asteroids
Stars: ✭ 287 (+83.97%)
Mutual labels:  html5-game, html5-canvas
Antipacman
HTML5 Pac-Man game with gesture recognition
Stars: ✭ 81 (-48.08%)
Mutual labels:  game-2d, html5-game
Tap Tap Adventure
Tap Tap Adventure is a massively online 2D MMORPG set in the medieval times with twists.
Stars: ✭ 123 (-21.15%)
Mutual labels:  html5-game, html5-canvas
Ore Infinium
Ore Infinium, Open Source multiplayer Terraria-inspired Sci-fi game, focused on technology, devices and researching. Written in Kotlin (JVM), LibGDX. Cross platform
Stars: ✭ 139 (-10.9%)
Mutual labels:  game-2d
Gamedev Resources
🎮 🎲 A wonderful list of Game Development resources.
Stars: ✭ 2,054 (+1216.67%)
Mutual labels:  game-2d
Phaser Kinetic Scrolling Plugin
Kinetic Scrolling plugin for Canvas using Phaser Framework
Stars: ✭ 117 (-25%)
Mutual labels:  html5-canvas
Magicallife
A 2d game that aspires to be similar to Rimworld, with more depth, magic, and RPG concepts.
Stars: ✭ 145 (-7.05%)
Mutual labels:  game-2d
Flutters
A game powered by Flutter and Flame
Stars: ✭ 117 (-25%)
Mutual labels:  game-2d
Scala Game Library
Scala library for cross-platform 2D game development
Stars: ✭ 116 (-25.64%)
Mutual labels:  game-2d
Foster Ts
A WebGL + TypeScript 2D Game framework with a Scene>Entity>Component model.
Stars: ✭ 112 (-28.21%)
Mutual labels:  html5-canvas
Caveexpress
CaveExpress is a classic 2D platformer with physics-based gameplay and dozens of levels. CavePacker is a Sokoban game.
Stars: ✭ 111 (-28.85%)
Mutual labels:  html5-game
React Native Game Engine
A lightweight Game Engine for React Native 🕹⚡🎮
Stars: ✭ 2,114 (+1255.13%)
Mutual labels:  game-2d

c4

Test

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, Opera, Safari, and IE.

Contributing

Contributions are welcome! I'm happy to accept any kind of contributions, pull requests, or bug reports.

Developing

  1. Fork and clone this repository
  2. Install dependencies
yarn install
  1. Start local development server
yarn start
  1. Make your changes at either browser/, core/, or server/
  2. Test it out at http://localhost:1234/
  3. After you are happy with your changes, please submit your Pull Request!

License

This work is licensed under MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].