Git Product home page Git Product logo

monte-sc2's Introduction

Graduated ๐ŸŽ‰

Nowadays I'm:

  • ๐Ÿ”ญ working on glassyPDM, a GrabCAD Workbench replacement
  • ๐ŸŒฑ learning Rust and UI/UX

monte-sc2's People

Contributors

joshtenorio avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

chaos192

monte-sc2's Issues

initialization error on aiarena ladder

error log: /home/bot_player1/Monte: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/bot_player1/Monte)

built with linux

cleanup and reorganizing

Code styling

Make the code style consistent. For now:

  • curly braces are mandatory
  • curly braces should be on their own line
  • Actions.cpp/h
  • api.cpp/h
  • Bot.cpp/h
  • BuildingManager.cpp/h
  • BuildingPlacer.cpp/.h
  • combat/
  • CombatCommander.cpp/h
  • Debug.cpp/h
  • InformationManager.cpp/h
  • Logger.cpp/h
  • main.cpp
  • Manager.h
  • Mapper.cpp/h
  • PlacementTree.cpp/h
  • ProductionManager.cpp/h
  • Ramp.cpp/h
  • ScoutManager.cpp/h
  • strategies/
  • Strategy.cpp/h
  • StrategyTools.h
  • VectorMath.cpp/h
  • WorkerManager.cpp/h

Move stuff into folders

  • Combat/ for army, Econ/ for macro/economy, and Framework/ for common files
  • Bot.cpp, main.cpp should be in src/
  • move combat/GameObject to Framework

Bank minerals for a future expansion

the current method of saving up minerals for a command center works, however it breaks Monte if it is unable to expand to a new location for whatever reason (creep present, enemy army, etc). This means that since a new cc is not being placed, the bot never purchases anything else despite having excess minerals. The current method is also kinda janky.

Plan

Following a Build Order

  • relatively unchanged
  • Step from strategy is converted into a WorkOrder for internal use

General Macro Cycle

  • update class instance variables minerals and vespene with current values from the observation interface
  • go through our cycle sequentially, and decrement minerals and vespene accordingly each time we purchase something

Misc

  • will need an ABILITY_ID -> UpgradeID and ABILITY_ID -> UnitType_ID specifically for work order

TODOs

  • Create a struct WorkOrder that contains an ability id and unit or upgrade id
  • Create generic trainUnit function - goal is to minimize lines of gInterface->actions in the file
  • Conversion functions
  • Will also need to keep track of supply
    More TODOs may be added

References

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.