Giter Club home page Giter Club logo

connect-four's Introduction

C4

A fancy, real-time game using gunDB and React

This game is deployed on Heroku, and you can play it live here.

Travis branch David

Issues

Found a bug or have an idea? Submit it!

Installing

If you want to try the game locally, here's how:

You'll need Node.js installed first.

Clone this repo and install it's dependencies:

# clones the repo
git clone https://github.com/PsychoLlama/connect-four.git

# move into the newly created folder
cd connect-four

# install the dependencies
npm install

Now you can start the server locally by running

# or any port of your choice
npm start 8080

Now the game should be accessible by going to http://localhost:8080 in a browser.

Optional:

If you want to edit the code, you'll need to run the build first. Kick it off with this:

npm run build

Now any changes you make should show up after refreshing your browser (no fancy hot-swapping ๐Ÿ˜ญ).

connect-four's People

Contributors

greenkeeper[bot] avatar greenkeeperio-bot avatar psychollama avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

connect-four's Issues

Sync failure?

If you play a game with two browser windows in the local area, it is very good. However, the game is not going well with other IP bands.

When a user creates a room in a different IP band, the room is not visible until the user manually refreshes, sometimes only after a few minutes of waiting minutes.

I don't know why games don't go smoothly in the other IP bands. Does Gun not have a flexible service Discovery like Kademla DHT? I don't understand Gun's peer search system even after reading the official document. There seems to be a great lack of information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.