Giter VIP home page Giter VIP logo

15666-game2's Introduction

Mine-Echoer

Author: Yifei Li

Design: Use echoes to detect where the bomb is, and set a flag on it. The higher the pitch of echo sounds, the closer the bomb is.

Screen Shot:

Screen Shot

How To Play:

Left-click on the board to echo. The higher the pitch of echo sounds, the closer the bomb is. Right-click to set a flag to indicate the bomb. Press ENTER to check whether you find the bomb. Press ESC to restart when game over.

You can only put one flag at the same time. So to remove a flag, right-click it again.

Sources:

Art sources are drawn by myself. Font source is the base-code source. Clonk sound (setting up flag) is the base-code source. Click sounds are based on the base-code source, and the pitch is generated by myself.

Note:

There is an ugly clicks.cpp file because the default Load accepts lambda function with no argument. So to pass arguments to it in order to decide pitch, I had to duplicate the same function for hundreds of times. Perhaps there is a better way, but at least it works.

This game was built with NEST.

15666-game2's People

Contributors

ixchow avatar leefige avatar

Watchers

 avatar  avatar

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.