Git Product home page Git Product logo

medusa_io's Introduction

Medusa_IO

EIE2 InfoProcessing Coursework group 13

https://youtu.be/ykUQqOHmgx0

pip packages

To run the project, following pip packages must be installed

  • intel_jtag_uart
  • tkinter
  • tk
  • simpleaudio
  • pydub

Setup

In order run the game, firstly clean coordinates of snakes from the previous game by running the following command in the SnakeVisualiser directory.

python3 snakecoordcleaner.py

Then run the server by executing the following command in the SnakeVisualiser directory.

python3 SnakeServer.py

To run the game client, run the following command from the root diretory Medusa_IO directory.

python3 SnakeVisualiser/SnakeClient.py

Networking allocation UDP

In order to setup the networking on Windows go to Windows Defender Firewall with Advanced Security and perform two following steps:

  • Go to Inbound rules
    • Click on New rule
    • Select Port and click Next
    • Select UDP,set the inbound port and click Next
    • Select Allow the connection and click Next
    • Leave everything as it is and click Next
    • Name the rule and click Finish
  • Go to Outbound rules
    • Click on New rule
    • Select Port and click Next
    • Select UDP,set the inbound port and click Next
    • Select Allow the connection and click Next
    • Leave everything as it is and click Next
    • Name the rule and click Finish

The following setup was introduced for each member of the team.

Name IP address Inbound port Outbound port
Alex 192.168.0.101 12112 512
Vaclav 192.168.0.100 12010 515
James 192.168.0.105 12020 516
Michal 192.168.0.102 12080 518
Mathew 192.168.0.104 12001 521
Charmaine 192.168.0.103 12102 522

Snake coordinates protocol

The snake coordinates file protocol has the following format: client name|snake coordinates|food configuration Example of the coordinates file protocol

Client 0|190,200;190,190;190,180;190,170;190,160;190,150;190,140;190,130;190,120;190,110;|0,0,0,0,0

medusa_io's People

Contributors

ccl19 avatar

Watchers

 avatar

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.