A command line matrix app for doing geometry, graphics, games, etc.
-Test Driven
-Boundary Collisions
a command line matrix app for doing geometry, graphics, games, etc.
this is a self reminder to bugfix a logic error somehwere in this code
while True:
y = abs(y)
x = abs(x)
print(y)
if ((type(y/2) == int) and (type(x/2) == int)):
zoomed[0] = y/2
zoomed[1] = x/2
y = zoomed[0]
x = zoomed[1]
else:
break
"x" represents location of an object named "testObj" with the fields x and y. x's present location on matrix is (0,4)
ooooo
ooooo
ooooo
xoooo
testObj.y -= 2
testObj.x += 1
printMatrix()
ooooo
oxooo
ooooo
ooooo
Objects coordinates do not coorespond to position in matrix. For example an object with the coordinates of (0,1) should be on row 1 column 0, NOT row 2. There's probably a value that needs to be offset in order to properly align everything.
Ran into this bug while addressing "boundary error"
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.