jitunayak / 4connect-Game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run the program and get Output

Requirements

- Python 3.8 (Should work fine on 3.x)
- Postman/ Curl (Test the REST API)

How to run server

  • open SourceCode folder
  • on terminal run "python3 server.py" // Assuming present working directory is within SourceCode folder
  • Don't rename any other files // if you do, modify local import names

To test the REST API


localhost:5000/start - to start the game
localhost:5000/play - to play

### Expected JSON:

{
"id" : "1",
"position" : "3"
}

Video Url

https://www.youtube.com/watch?v=pf2RimrPCAg

Screentshots

1

2

3

4

About


Languages

Language:Python 100.0%