Code Game help

Making a third-person game with mentions of code. I’m between making the player pick up meshes of code to rack up points or to make him/her type in a line of code in a block/computer at the end to advance to the next level. Either way, I want a timer of 2:00 to be running and when it reaches zero, send them a game over screen.

My questions are which would be easier and how would I do either? I know i’d need to make meshes for the former, at least.