Timeline for AI Tetris-like game
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 7, 2016 at 5:29 | history | edited | Jamal | CC BY-SA 3.0 |
added 2 characters in body; edited title
|
May 6, 2016 at 22:16 | vote | accept | PascalVKooten | ||
May 6, 2016 at 19:52 | answer | added | Loki Astari | timeline score: 4 | |
May 6, 2016 at 19:41 | comment | added | Loki Astari |
It's hard to tell you don't provide the type information on a lot of objects. But one thing that is majorly different between the languages is names. In pythong a name is a reference to an object. In C++ objects are named and distinct (thus when pushing them you are making copies (which can be expensive)). In these cases you should be passing pointers or references depending on the situation. Can you post the class definition of Board COO Budies and anything else relevant.
|
|
May 6, 2016 at 17:38 | history | edited | PascalVKooten | CC BY-SA 3.0 |
added 73 characters in body
|
May 6, 2016 at 16:46 | history | asked | PascalVKooten | CC BY-SA 3.0 |