View Single Post
Old 07-12-2019, 08:13 PM  
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,391
Quote:
Originally Posted by blackmonsters View Post
Googling poker hands and their value would be a normal thought process.
Indeed. He all you need to know as a coder:



Quote:
Originally Posted by ghjghj View Post
Wow, must be written by some Einstein The code can be reduced in about 10x times... When I was a kid, I was writing games for programmable calculators because I wasn't able to a4d a computer (hello CurrentlySobber ;)) So I wrote a 40-50 byte code to emulate a landing of space module to non-atmospheric space bodies like Moon. The program was controlling such parameters as time, speed, gravitation, the oxygen reserve, the mass of remaining fuel, the mass of the space ship, the trust vector and even the specific impulse of the rocket engine (everything straightly to physical formulas - the same ones that were used by Luna-9 or Apollo-11 modules). And all that, including the game component which allowed you to pilot the space ship was fitted in a 40-50 byte program In those times we have counted every single bit of code.
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote