How is it going everyone? My projects, blog, and consulting services are on v1v2.io. Cheers and keep on coding folks! โ๏ธ
verekia / hackarena Goto Github PK
View Code? Open in Web Editor NEWHackathon Arena
License: MIT License
Hackathon Arena
License: MIT License
How is it going everyone? My projects, blog, and consulting services are on v1v2.io. Cheers and keep on coding folks! โ๏ธ
I want to make the server forget about pixels entirely. In most places this is as simple as removing MAP_TILE_SIZE, but there might be places where we made calculations with the assumption that we were dealing with pixels. For example, in main.py:
def has_obstacle_there(self, char_pos_x, char_pos_y, direction):
if (
direction == 'LEFT' and MAP_OBSTACLES[63 * char_pos_y + char_pos_x - 1] != 0 or
direction == 'RIGHT' and MAP_OBSTACLES[63 * char_pos_y + char_pos_x + 1] != 0 or
direction == 'DOWN' and MAP_OBSTACLES[63 * char_pos_y + char_pos_x + 63] != 0 or
direction == 'UP' and MAP_OBSTACLES[63 * char_pos_y + char_pos_x - 63] != 0
):
return True
return False
I'm a bit scared to touch this as I'm not entirely sure what the significance of the 63 is here.
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.