Giter Club home page Giter Club logo

codewars-v3's Introduction

Codewars-v3

Welcome to Codewars-v3!
Build the strongest village and capture enemy territory to win!

Installations:

For Linux users:

sudo apt-get install libboost-all-dev #to install boost
sudo apt-get install libsfml-dev      #to install sfml

For Windows and Mac users:

FOr boost, use this for windows and this for mac.This is boost's official site.
Use this for SFML

Instructions to run the code:

Create a directory "Object" in the CodeWars-v3 folder.
Run the compile.py file as follows (this only needs to be run once):

python compile.py

Add your Python code team_name.py in any of the player files. and run them:

python <team_name>.py > team_number.txt

Finally run the following in separate terminals inside the Object directory:

./main 6000
./client <player_number0> 127.0.0.1 6000
./client <player_number1> 127.0.0.1 6000
#for example, ./client 0 127.0.0.1 6000

Runs the file in player0

codewars-v3's People

Contributors

parthp3 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.