colinschoen / ants-web-viewer Goto Github PK
View Code? Open in Web Editor NEWCS61A Ants Project Web GUI
Home Page: cs61a.org
CS61A Ants Project Web GUI
Home Page: cs61a.org
Ant images should be backgrounds not <img>
tags.
On the easy level, the first bee enters a tunnel at time 3. However, the browser GUI doesn't show this until time 4, and the bee has already skipped a space.
The reason for this is probably because on line 170, when iterating over colony.places.items()
, the hive isn't included in places. The places
attribute of colony
should only return all the places on the NxM board that players are able to put ants in. The fix should probably just need to include the hive in the for loop.
Create javascript event binding to exit button to trigger AJAX post request.
Order ants based on food cost.
Store gamestate in memory not on disk.
Unnecessary to redraw ants on every update. Only need to draw ants when there is a new ant spawned.
Add restart game button
Animate leaf throwing
Dead ants are not dying reliably.
After terminating the web server it still sometimes retains it binding to port 8000 a few seconds after causing the following error if a user tries to spawn another instance:
OSError: [Errno 48] Address already in use
Implementation of responsive table with background color and transparency is breaking.
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.