Skip to content

Andrej123456789/gog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PROJECT IS DONE

gog

The Game of Googol written in C

Public Domain

Credits

Installation

A

  • Install GCC
  • Install GNU GMP library

B

  • Run this command: gcc -lgmp -g .o gog gog.c && ./gog

Rules

You have x numbers of cards. Each card have a number, between 1 (one) and 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 (googol).

Winner is person who finds largest number.

Be careful, you cannot retroactively choose number few cards before!

How to win

WARNING: If you want to try win this game without any help, (please) don't click me!

Divide number of cards with number e (2.7182818284590452353602874713527...) and round result to nearest natural number. When your card's position is same as result moment ago, continue playing and when you get bigger number than on card with that position, quit playing.

Example: 10/e ≈ 4

  • Card 4: 78 - CONTINUE PLAYING
  • Card 5: 68 - CONTINUE PLAYING
  • Card 6: 81 - QUIT

About

The Game of Googol

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages