Giter Club home page Giter Club logo

mechmania28_illiac-2andu's Introduction

MechMania28

----------------------------

-----------CONTEXT----------

----------------------------

This set of code was developed from the python starter pack cloned from the MechMania28 repo (https://github.com/MechMania-28/Python-Starterpack). The code within this repo were written by @rayko9277 (Ray Ko), @ZYCC6002 (Chris Chan), @SidharthAnand04 (Sidharth Anand) and hwacc-y (Nicholas Yeung). Our team, Illiac 2 and U, placed 9th using the ranger.py strategy file. Other strategy files such as kn_strategy and wiz_stragety were also quite effective for a while until balacing updates to the game reduced their effectiveness.

-------------------------------------

-----------Running the code----------

--------------------------------------#

Code Req: Java >= 11
Node.js Python >= 3.8 pip install jsonpickle #--------------------------------------------------------------------------# First run the Engine.jar file from (https://github.com/MechMania-28/Engine) Next run the build.py file Then run the start-4-python-bots.bat/.sh file After that the engineer should output a .json file in a folder called gamelogs, which is located in the same directory as Engine.jar. Run the resulting JSON file in the visualizer (https://github.com/MechMania-28/Visualizer) to render the results. #---------------------------------------------------------------------------# Tips: I configured the strategy_config.py file so that it can test out multiple strategies against each other during tests. If you want the engine to run the game with 4 bots running the same strategy just make test = false and return the desired strat function in the return statement under else. #---------------------------------------------------------------------------#

----------------------------

--------CURRENT WORK--------

----------------------------

Currently the hackathon is over but maybe in the furture, I'll come back to tinker with this repo.

----------------------------

--------FUTURE WORK---------

----------------------------

Maybe try and optimize the knight or wizard class using other ML methods such as reinforcement learning since there is no longer a time constraint.

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.