NumQuiz

Name Message Date
Artwork
NumQuiz_Core
NumQuiz_FW
Source
Templates
Tools
.gitattributes
.gitignore
Exclude.lst
NumQuiz.sln
Publish.bat
README.md

Opener

NumQuiz

This project is a one day build*, just for fun purpose. It is a simple console based game which can be compiled using either the Microsoft .Net Framework or Microsoft .Net Core, thus it is cross platform compatible.

*) One day builds. Always take longer than a day. -- Adam Savage

Copyright (C) tightDev.Net 2019

Current state: Version 1.0

Please report any bugs or suggestions to: thomas.baumann (at) tightdev.net

Known issues

  • On Linux dark gray console color is not being displayed, bright colors as dark. Don't know why.
  • .Net Core releases: Application icon does not get applied. It's a planned feature for .Net Core 3. However, this will not affect the MacOS App release, cause there it is customizable.

How to play

Simply start the application. You will be asked for a difficulty first.

  1. Debug mode:
    This makes this game so easy, it is not even worth playing it. It's main purpose is only for debugging. Letters are alphabetically ordered, so the first letter is 0, the second 1, … Should be only used for what it is designed for. Also the hint limit is set to maximum.
  2. Normal mode:
    You see instantly if a number is correct or not. Hint limit is set to 5.
  3. Hard mode:
    You don't get any feedback at all, except the whole quiz is solved. Hint limit is set to 3.

To play simply type the letter first, than the number you want to assign to it. You see your guesses in the legend on the right, as well as right next to the letter in the math question.

Press X to exit the game, N to create a new game or H to display a hint (a correct assignment). R displays the result (and thus ends the quiz).

The game is solved by assigning the numbers 0..9 to each letter, in a way so the math questions are correct. The mathematical questions as well as the legend are randomly generated on each new game, there are no fixed templates or such, except it is ensured that a division always result in an integer value. So it may happen that some games are unsolvable. Never happened to me, but if it does, tough.

After the quiz is solved or the result is shown (playground turns green), you can start a new quiz or exit the game.

Have fun :)

Screenshots

View the screenshots in the Artwork directory. Here they are, too:

Download

You can download the compiled binaries for various systems. For Windows usually take the NetFW version. Other operating systems can try the Core versions, for example Linux ARM on a Raspberry Pi or similar.

All versions are portable and does not require an installation. The .Net Framework version requires .Net Framework 2.0 or higher to be installed on your system (usually already included in the operating system).
Other operating systems than Windows may also be able to run the NetFW version using the Mono Framework.

.Net Core releases includes the needed runtime files (hence the file size). Used runtime version is 2.1.

Binary / compiled files

Source code (VB.Net, VS2017 project, ~2.2MB)

For Linux and MacOS you may have to mark the binary "NumQuiz" as executable (chmod +x ./NumQuiz).

Source files

Basically there is only one source file (Sources\App.vb), used in both projects as linked file.

Additional files (source release only)

  • 7za.exe:
    7zip commandline archiver, used during publishing to create the zip archives.
  • Exclude.lst
    Used during publishing to exclude useless files from the source archive.
  • Publish.bat:
    Batch script which recompiles the project file and creates release files for each supported platform.
  • README.md:
    This file.
  • NumQuiz.exe.config:
    This file allows the .Net Framework 4.x to execute this .Net Framework 2.0 application.
  • Artwork\NumQuiz.icns
    This is the application icon, used for MacOS release only. Used by Publish.bat.
  • Artwork\NumQuiz.ico
    This is the application icon, used for Windows release only.
  • Artwork\Opener.*
    The opener image used in README.md.
  • Artwork\GitSymbol.*
    This is the Git icon, only used for the git project page.
  • Artwork\Screenshot_*.png
    Some screenshots, only used for the git project page.
  • Artwork\Symbol256.*
    This is the application icon, used for Linux release only. Used by Publish.bat.

All *.pld files are the original source images I created using with Photoline.

License (MIT)

Copyright 2019 Thomas Baumann - tightDev.Net

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.