https://github.com/cair/deep-line-wars
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.1%) to scientific vocabulary
Keywords
Repository
Statistics
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
- Releases: 0
Topics
Metadata Files
README.md
DeepLineWars v1.0
DeepLIneWars is a real time strategy simulator which takes inspiration from Hero Line Wars, a Warcraft 3 mod available at battle.net
Purpose of this simulator is to use reinforcement learning to achieve perfect play.
Installation
bash
pip3 install git+https://github.com/CAIR/DeepLineWars.git
Usage
Remember that non image representation is channels_first! ```python import gym import DeepLineWars # This is required in order to load DeepLineWars import os
if name == 'main':
# Reset environment
env = gym.make("deeplinewars-deterministic-11x11-v0")
s = env.reset()
# Set terminal state to false
terminal = False
while not terminal:
# Draw environment on screen
env.render() # For image you MUST call this
# Draw action from distribution
a = env.action_space.sample()
# Perform action in environment
s1, r, t, _ = env.step(a)
terminal = t
s = s1
```
Environments
There are several environments available for Deep Line Wars
deeplinewars-deterministic-11x11-v0
deeplinewars-deterministic-13x13-v0
deeplinewars-deterministic-15x15-v0
deeplinewars-deterministic-17x17-v0
deeplinewars-random-v0
deeplinewars-shuffle-11x11-v0
deeplinewars-shuffle-13x13-v0
deeplinewars-shuffle-15x15-v0
deeplinewars-shuffle-17x17-v0
deeplinewars-stochastic-11x11-v0
deeplinewars-stochastic-13x13-v0
deeplinewars-stochastic-15x15-v0
deeplinewars-stochastic-17x17-v0
Licence
Copyright 2017 Per-Arne Andersen
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Owner
- Name: Centre for Artificial Intelligence Research (CAIR)
- Login: cair
- Kind: organization
- Email: cair-internal@uia.no
- Location: Grimstad, Norway
- Website: https://cair.uia.no/
- Repositories: 68
- Profile: https://github.com/cair
CAIR is a centre for research excellence on artificial intelligence at the University of Agder. We attack unsolved problems, seeking superintelligence.
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 4
- Average time to close issues: N/A
- Average time to close pull requests: less than a minute
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- perara (4)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- gym *
- numpy *
- opencv-python *
- pygame *