halitechallenge / halite-ii Goto Github PK
View Code? Open in Web Editor NEWSeason 2 of @twosigma's artificial intelligence programming challenge
Home Page: https://halite.io
License: MIT License
Season 2 of @twosigma's artificial intelligence programming challenge
Home Page: https://halite.io
License: MIT License
U michigan has mulitiple campuses
user dissat that it is not truly your highest rank instead the retired rank
On whose side is the error?
Crashes when called : game.update_map()
I can not attach a log file.
Summary
{
"Error": {
"Message": "ERRORED! Response received (if any): ",
"Turn": 96
},
I'm using Windows and I cannot get zstd installed from HaliteClient setup, nor from Facebook's github, and the Windows zstd executable won't even open the replay files because it does not recognize the suffix. Not entirely sure what the issue is since the replays downloaded from the Halite site can be opened without an issue.
https://halite.io/game-player-stats won't load in my Chrome browser. It seems that its loading http resources.
-[ ] Add build for scala
-[ ] Rust/C++ on Windows
-[ ] Generating deployment artifacts from the pipeline?
-[ ] Running a halite game
https://halite.io/learn-programming-challenge/other-resources/offline-visualizer
Wrong link structure, gotta fix it
Seems like a common thing is people submitting zip files with single directory inside where all the bot code is. Maybe it's worth supporting that instead of asking them to repackage it?
Changes to post-game dashboard:
Spec is here: https://www.screencast.com/t/e7CWlXAsCX
Hello. Whenever I am trying to access the halite.io website from Google Chrome nearly all of the pages are blank, and I cannot sign in. The two exceptions to this are the Learn page and the Download page. Not sure if this matters, but I am on macOS. Thanks in advance for the help. :slight_smile:
https://forums.halite.io/t/blank-pages-on-website/123/4
https://insights.hotjar.com/sites/629189/heatmap/list
halite.io has not reported any data in the past 24 hours.
Installation is automatically verified every hour.
For help on how to install Hotjar, please refer to our step by step installation guide for manual installation, Google Tag Manager, Wordpress, Prestashop, etc.
Tracking codeVerify installation
Site ID: 629189
Copy and paste the code snippet into the tag on every page where you wish to track visitors and collect feedback.
halite 1 allowed you to press 1,2,3,4,5 to change the game speed. It would be super nice to set that up this time as well
@lidavidm any idea whats going on?
ERROR:root:Error on get task Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "worker.py", line 315, in main
executeGameTask(int(task["width"]), int(task["height"]), task["users"], backend)
File "worker.py", line 252, in executeGameTask
users, parsed_output = parseGameOutput(raw_output, users)
File "worker.py", line 229, in parseGameOutput
result = json.loads(output)
File "/usr/lib/python3.5/json/init.py", line 319, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
https://halite.io/learn-programming-challenge/basic-game-rules/units
https://github.com/HaliteChallenge/Halite-II/blob/2ff792f77a3f485cfaa1253ad72488dac7aef30c/website/learn-programming-challenge/basic-game-rules/units.md
See the Planet Properties specifically Explosion Radius
and Production
have the same description. Could be wrong but I don't think they should be the same.
$ client.py auth
Please go to http://35.185.45.87/user/api_key to obtain an api_key, and paste here:
Should be: https://halite.io/user/settings
Super low priority, integration with Amper if we can. UX design work required. Prototype available
32bit windows is still very common in lots of world. Should probably provide prebuilt one.
Disabled pending front end work completion
from @Janzert
Currently maximum turns in a game is defined as min(300, 100 + (int) (sqrt(map_width * map_height)))
But the very smallest map size is 240x160 which gives a maximum turns of 295. Every other map size will be limited to 300.
It seems simpler and clearer to just define the maximum number of turns as 300 for all cases.
I believe to change this is just a matter of modifying line 995 & 996 of Halite.cpp to set max_turn_number directly to constants.MAX_TURNS instead of using the current formula.
Need to fix this asap
The docs1 indicate that "The maximum number of ships that can be docked to a planet is equal to the radius. E.g. a planet with a radius of 3 units may have up to 3 ships docked to it at once." But, the max actually is a property of the Planet and seems unrelated to the radius.
https://github.com/HaliteChallenge/Halite-II/blob/master/airesources/Go/src/hlt/entity.go#L184
The Golang undock command has the wrong format string, which should be "u %s".
Games/Minute is quite noisy to gather useful signal from, Games/Hour would be much easier.
Good news is that they're using your instructions!
From: https://forums.halite.io/t/unknown-bug-on-python-need-help/138/4
User wrote:
No problem on Python side i just try to implement the part
up close and personnal part of improve your botentities_by_distance = game_map.nearby_entities_by_distance(ship)
nearest_planet = None
for distance in sorted(entities_by_distance):
nearest_planet = next((nearest_entity for nearest_entity in entities_by_distance[distance] if isinstance(nearest_entity, entity.Planet)), None)
if nearest_planet:
breakit seem to come from
nearest_planet = next((nearest_entity for nearest_entity in entities_by_distance[distance] if isinstance(nearest_entity, entity.Planet)), None)if i comment this line it seem to work
this is a more minimal code i use to test
https://pastebin.com/3VJTgjtp1
Play
Design should be:
Hari and I tried to add a few more cards on top and the layout was vertical. Could you polish this up so I can add a few more Hackathons to the top of the page?
Desktop:
Mobile:
https://projects.invisionapp.com/d/main#/console/11619087/252513084/preview
https://github.com/HaliteChallenge/Halite-II/blob/master/airesources/README.MD
Both links in file give 404
Implement newer/nicer error messages for Windows too
Implement non-blocking write (see d4ac3a1 and its commit message)
Dealing with Medium INT caps at 16 million. Need to fix this
@Janzert
Since we are just a little over 10% of the way through the current game id size it should be fine to delay dealing with this until after launch.
Also what is currently running on production has a couple of minor changes from what is specified in the git repo (one varchar field size differs and the is_gpu_enabled field has been added but not the game id size change). I'll get a patch together to match the repo, to reality but I am swamped with work the next few days.
Switch category & action for subscribe events:
Other priority issues
Onboarding Flow
We should have analytics events for clicking next for each page of the onboarding flow:
Category: onboarding
Action: clicked-next
Label: page-{number of page, 1-3}
Also click to cancel:
Category: onboarding
Action: clicked-cancel
Label: page-{number of page, 1-3}
Maybe also track downloads?
Category: onboarding
Action: clicked-download
Label: {language user selected}
Low priority:
Inspired by #20. If bot doesn't send moves during a turn for whatever reason, then it will get stuck waiting for map update for the next turn and it will not be obvious to bot maker why it's stuck. We can help minimize the pain by adding sanity checks to bot kits that check for this condition and fail early.
the size of the game screen is pretty tiny, and this is coming from someone who has pretty good vision. It's pretty difficult to see all the moving pieces. Anyway we can make the window bigger and potentially have a full screen option?
After several games noticed that on the python 3 built-in functions in hlt (game.update_map ()) is sometimes executed too long which leads to a timeout! Argghhhhhh!
Barebones CSharp kit with many bugs is available in airesources/Csharp. Looking for help to make it awesom.
Expected Result:
You arrive at the leaderboard front page.
Actual Result:
You arrive at the home page.
welcome email
not high priority
Hoang had styles for H4 in his style guide. Let's apply them.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.