Skip to content

Connect Four game created using Pixi.js and TypeScript.

License

Notifications You must be signed in to change notification settings

miro-jelaska/connect-four

Repository files navigation

dependencies Status Code Climate Issue Count

Connect 4

Connect Four game created using Pixi.js and TypeScript.

Do you like it? Show it by giving a ⭐️. 🚀

Preview of Connect 4 game (TypeScript & Pixi.js)

⏱ How much time did it took me? 3 days (which is also partially visible in commit history). This includes software development as well as creating gamplay concept, prototypes and, finally, game art. I had no practical experience with TypeScript nor Pixi.js prior to this project.

Technical details

How to build and run?

To build the project use webpack and then use some static server to serve the web.

Step-by-step guide

Here is the whole process for those who got lost or those who are just starting out.

  1. (Prerequirements) Assuming that you have installed and configured node.js and git on your machine. And that you have cloned this repository.

  2. Open your favorite shell and change directory to root at ./connect-four

  3. Install all npm modules (listed as dependencies in package.json).

    npm install
    
  4. Run webpack to compile.

    npm run build
    

    and you should see something like this:

     Hash: 2a83d3d1cc776185f2cd
     Version: webpack 1.14.0
     Time: 2473ms
                       Asset     Size  Chunks             Chunk Names
     ./build/scripts/main.js  1.23 MB       0  [emitted]  main
         + 190 hidden modules
    
  5. Install and use some static web server. E.g. install Superstatic, run superstatic at ./connect-four. Shell output may look something like this

    Superstatic started.
    Visit http://localhost:3474 to view your app.
    

    Visit suggested web address to play the game.

Game art design

Vector assets can be found in Adobe Illustrator file at readme-resources/Connect4-assets.ai

Color scheme

  • #FE5C2C #FE5C2C (LightRed)
  • #E0331D #E0331D (DarkRed)
  • #3DBAE3 #3DBAE3 (LightBlue)
  • #0D87C9 #0D87C9 (DarkBlue)
  • #74675A #74675A (Brown)
  • #FFB014 #FFB014 (Yellow)
  • #F1F2F2 #F1F2F2 (LightGray)

About

Connect Four game created using Pixi.js and TypeScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages