GithubHelp home page GithubHelp logo

guess-my-number's Introduction

Guess My Number ๐Ÿ”ฎ

MIT License Java GitHub last commit KMITL

Analytics Contributions

Repobeats analytics image

Demo ๐ŸŽฅ

guess-my-number.mp4
Click to see image demo_1 demo_2 demo_3 demo_4 demo_5

About the project ๐Ÿ“–

This is a simple game that you have to guess the number that the computer has chosen. The computer will give you a hint whether the number you have chosen is higher or lower than the number that the computer has chosen. The game will end when you guess the number correctly.

Author ๐Ÿ™‹โ€โ™‚๏ธ

Features ๐Ÿ“Œ

  • Guess the number that the computer has chosen
  • The computer will give you a hint whether the number you have chosen is higher or lower than the number that the computer has chosen
  • Hint will be given in the form of a binary number
  • The game will end when you guess the number correctly
  • When you input the empty or string (5 times) it not include easter egg, it will go to rickroll on YouTube
  • Easter egg for fun
Click to see Easter egg

The easter egg fill in guess field

  • cheat

    For see answer

  • I love Suntana

    For show teacher picture and then you win

    โš ๏ธ Case sensitive

Built with ๐Ÿ› 

Table of contents ๐ŸŒณ

โ”œโ”€โ”€โ”€ .github
โ”‚   โ””โ”€โ”€โ”€ workflows
โ”œโ”€โ”€โ”€ src
โ”‚   โ””โ”€โ”€โ”€ main
โ”‚   โ””โ”€โ”€โ”€ utility
โ”œโ”€โ”€โ”€ .gitignore
โ”œโ”€โ”€โ”€ pom.xml
โ”œโ”€โ”€โ”€ LICENSE
โ””โ”€โ”€โ”€ README.md

Pre-requisites ๐Ÿ“‹

Installation ๐Ÿ”ง

# Clone the repository
git clone https://github.com/PunGrumpy/guess-my-number.git

# Go to the project directory
cd guess-my-number

# Build the project
mvn clean package

# Run the program
java -jar target/guess-my-number-[version].jar

# If you want to run via Visual Studio Code (VSCode) you must package the project first and then run the program (mvn clean package)

Troubleshooting ๐Ÿž

  • If you have any problems, please open an issue or contact me directly on Discord (Grumpy#9760)

  • If error show like this

    Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.net.URL.toExternalForm()" because "location" is null
        at java.desktop/javax.swing.ImageIcon.<init>(ImageIcon.java:232)
        at main.MenuPanel.Render(MenuPanel.java:71)
        at main.MenuPanel.<init>(MenuPanel.java:37)
        at main.Game.<init>(Game.java:28)
        at main.MainClass.main(MainClass.java:6)
    • You must package the project first and then run the program (mvn clean package)
  • Don't forget to add the version number in the jar file name

  • If you want to run via Visual Studio Code (VSCode) you must package the project first and then run the program (mvn clean package)

Contributing ๐Ÿค

  1. Fork the project
  2. Create your feature branch (git checkout -b feat/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feat/AmazingFeature)
  5. Open a pull request

You can create your own GUESS MY NUMBER game for free without notifying me by forking this project under the following conditions:

  • Don't use UI design from this project ๐ŸŽจ
  • Add credit for this project in your project ๐Ÿ“–

guess-my-number's People

Contributors

pungrumpy avatar mephisto-grumpy avatar custapq avatar dependabot[bot] avatar github-actions[bot] avatar

Stargazers

PunGrumpy Bot 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.