Giter Club home page Giter Club logo

logicgame's Introduction

Logic Millionaires, but with virtual teddybears instead of money

Build

In order to build this project run

make

in this folder. This will generate program "polscy_logicy" in dist/Debug/GNU-Linux/ path. You can specify your logic by passing to program arguments:

./polscy_logicy --not not.txt --and and.txt --or or.txt --impl impl.txt

If you don't specify a logic a standard trinary logic (en.wikipedia.org/wiki/Three-valued_logic) is applied.

Play

Your job is to answer correctly to 10 question. This is a VERY difficult task, if you win a game and win 10 teddybears you can be called Master of logic, Logic King\Queen or whatever you like. Every level consists of logic sentences mixed with logic conjunctions. Every sentence and conjunction has 25% chance to be negated. You have to solve the logic puzzle. For instance:

1: The moon is lighter than the Earth.
2: var x="false"; in JavieScript creates a string.

!( !1 v 2 ) in trinary logic is:

Both first and second sentence are correct. So we have to solve !( !true v true ).

If you don't anwer correctly, you'll get correct correct anwer and the path that leaded to correct anwer. For example above the path is:

!( !1 v 1 )
!1
0

Good luck

Now, that you know everything you can test your logic skills. HLHF! :D

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.