Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 1.39 KB

README.md

File metadata and controls

49 lines (29 loc) · 1.39 KB

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