mattbierner / super-template-tetris Goto Github PK
View Code? Open in Web Editor NEWTetris as a C++ Template Metaprogram
License: MIT License
Tetris as a C++ Template Metaprogram
License: MIT License
I try to build the stt tetris.xcodeproj and i get fatal error: 'current_game.h' file not found
prepro inputs text and output text, so maybe don't need to run at all
Fine piece of Tetris. Great game play. Totally next gen graphics.
I like the write-up as well. Since I couldn't find your e-mail, here's a few nitpicks:
The Tetris playfield also just a buffer
"is also just a buffer" ?
For practical purposes, we'll store dangerzone area of the playfield in the top four pixels.
"fourty" or "10 x 4"? (since it's an area).
And Runtime, like Satan, will not descend to [evaluation] hell till he has dragged a living part of [compiletime] heaven down with, and helmeted himself with it.
"down with him"?
Even though I walk through the darkest valley, I will fear no Runtime, for you are with me; your rod and your staff, they comfort me.
he has.
When I copy and paste the compile command I get this error:
main.cpp:64:10: fatal error: 'current_game.h' file not found
Is there a file that's supposed to be there because I searched the entire thing and couldn't find this file
when i do 'clang++ main.cpp -std=c++1z -Wno-gnu-string-literal-operator-template -D COMMAND -o tetris ; ./tetris' , there are many compile errors. And I do it in Ubuntu 14.04, clang 3.8.0. Is it the problem of my compiler or os?
At https://github.com/mattbierner/Super-Template-Tetris/blob/master/tetris/main.cpp#L16, some kind of problem is observed with large _fold-expression_s in Clang. It'd be great if you could file a bug report on that issue (or if not, give me some steps to reproduce it and I'll file it for you).
(Sorry, couldn't find another way to get in touch...)
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.