Coder Social home page Coder Social logo

codeosoccer's Introduction

Instructions:
This readme gives a brief set of instructions to setup the project and run your code. Also, refer to User Manual and documentation.

Requirements:
Visual Studio 2012 (http://go.microsoft.com/?linkid=9816768)

Setting up the project:
***************************************************************

Setting up the environment:
...............................................................
Setting up the Project to build in release mode:
1)Click on Build in menu bar and select Configuration Manager from drop-down list.
2)Select Release under the heading Active solution configuration.

Setting up for Simulator:
...............................................................
1)Open the project by opening the strategy.sln file present in Strategy folder.
2)Click on Project and select Strategy Properties from the drop-down list.
3)Go to Configuration Properties -> Build Events -> Post-Build Events
4)Add (without qoutes) "START run.bat" to command line field.

To change your Team colour:
...............................................................
To change your team colour, write your team colour (BLUE_TEAM/YELLOW_TEAM) against "teamColor" field in game.hpp near the top.
Make sure to choose the corresponding team colour in the debugger and simulator as well.

Building the Project:
...............................................................
Press F7 or Build -> Build Solution


...............................................................

To check your code, you need to start the simulator.

Starting the Simulator and running the project:
...............................................................
1)Open the "Debugger.exe" present in installation directory.
2)Click on "Start Strategy" button. 
3)Now after the simulator loads, from the right column select "STRATEGIES" in the simulator window.
4)Against team you want to run, click on "LINGO". It changes to C++.(Refer to Note: Info on competing with an opponent)
5)Now click on Send and then Start button and you are ready to see your code work.

Note:
1)Competing against human opponent:

a)First of all, it is important that you both select different team colours
b)Make the "usingDebugger" field "false" for both teams.
Change it back to "true" when you are not competing against anyone.
c)Now build the project.
d)****Data(Team1.dll or Team2.dll file) of your teams is present in C:/Strategy/(blue/yellow) folder****. One of you just have to copy this file to other computer's corresponding folder and run the "Debugger.exe". Then click on STRATEGIES and click LINGO -> C++ for both teams. now you can click Start.

2)Debugger will help you to see common parameters like position,velocity and angle of your bots and other parameters that you would like investigate.****It will not work when competing against an opponent.****

Happy Code-O-Soccer Guys
Cheers
Team KRSSG

codeosoccer's People

Contributors

akshaysngupta avatar korroktheslavemaster avatar overnight avatar

Stargazers

Debojyoti Majumder avatar MrArthurWong avatar  avatar

Watchers

James Cloos avatar  avatar Soumyadeep Mukherjee avatar Sanyam Agarwal avatar Anurag Anand avatar  avatar Anmol Gulati avatar MrArthurWong 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.