Jump to content

Coding a human: LTT forum Pseudocode game!

Inspired by a status by @TheCoder2019 and pushed to its logical next step by @WereCatf, @FakeKGB and yours truly, I present: the LTT code a human game!

 

The goal is simple: we all pitch in "code" (language doesn't matter) to create a human and slowly evolve said human. Think spore, but fake code on a tech forum hosted by the youtube channel with a firetruck review as a most viewed video.

 

The rules:

  • All code must be in an actual language (please list what language, anything goes) 
  • You must list what your code would control (IE. heart, lungs, eyes, skin development etc.)
  • Constructive criticism is allowed, but don't be an ass about it. 
  • I'd love to have a human for each programming language, but focus on finishing current humans before starting new ones.

PARTS COMPLETED:

Basic laws of ageing/foundation (python) - @TheCoder2019 (needs fixing up to allow ageing, but great start) - 1:20pm UTC, 7/5/21

 

I'll update this thread as we finish parts/humans, but if I miss anything or miss-credit someone, please PM me. I myself do not know much code, so think of me as an overseer.

 

Have fun tech nerds!

Main PC: the literature club machine

Intel I5 9600k @ 4.2 Ghz | MSI z390-a pro | G.Skill Trident Z RGB 32 GB 3000Mhz | Samsung 970 1TB | 2x Seagate barracuda 3.5" 2.5tb  | Thermaltake Floe Riing RGB 240 | MSI Ventus 2x black RTX 4060 TI 8gb | Be Quiet Pure Base 500DX

 

Daily drivers

Apple Iphone 12 | Apple Macbook Pro 2020 16gb | Ducky One 2 Skyline | Logitech G pro | Beryodynamic DT 990 PRO | Focusrite Scarlett 2i2 Gen 4

Link to comment
https://linustechtips.com/topic/1335533-coding-a-human-ltt-forum-pseudocode-game/
Share on other sites

Link to post
Share on other sites

Here's the source code

from earth import Human
from Human import Health, Sleep, Age
import Time

if Time == "3:00" (
   then sleep,
  else return),

if Sleep == "0.01" (
  then Awake,
  else return),

if health == 100 (
  health = (health * 1000),
  else return),
  
  if Age =< 1 (
    Age = 0,
    else return)

Python

specs

Spoiler

ASRock B650I Lightning WiFi

AMD Ryzen 7 7700X

KLEVV CRAS V RGB (2x16GB) 6000MT/s out of the 7200MT/s I could be running

ASUS RTX 3060 OC (12GB)

Thermalright Frozen Edge 240 RGB

Lian Li A4-H2O

 

linux packages

Spoiler

tmux

btop

git

Link to post
Share on other sites

21 minutes ago, TheCoder2019 said:

Here's the source code:

Python

this can serve as a base. could you copy + paste the code for ease of access?

Main PC: the literature club machine

Intel I5 9600k @ 4.2 Ghz | MSI z390-a pro | G.Skill Trident Z RGB 32 GB 3000Mhz | Samsung 970 1TB | 2x Seagate barracuda 3.5" 2.5tb  | Thermaltake Floe Riing RGB 240 | MSI Ventus 2x black RTX 4060 TI 8gb | Be Quiet Pure Base 500DX

 

Daily drivers

Apple Iphone 12 | Apple Macbook Pro 2020 16gb | Ducky One 2 Skyline | Logitech G pro | Beryodynamic DT 990 PRO | Focusrite Scarlett 2i2 Gen 4

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×