Skip to content

TiramisuQiao/Wordle_By_MIPS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Wordle_By_MIPS

Author: Junqiao Wang

Currently, the program implements the following features:

  1. Anomaly Detection:
  • If the player chooses the wrong number for the opening, they will be asked to re-enter it

  • If the player enters fewer than 5 characters, a new entry will be requested

  • If a player enters a word with non-lowercase letters, such as capital letters and other characters, they are asked to re-enter it

  1. Debug Mode:
  • To help developers understand the performance of the program more quickly, there is a developer mode within the program -0 is Normal Mode and 1 is Debug Mode

  • Debug Mode will show the correct string the player will guess

  1. Method of implementation of the entire program
  • Load in Random puzzles:

The program is generated as a random number, which is then multiplied by 5 to obtain the position of the first letter of the randomized word, from which the correct word is then stored in RAM using a register, which will be loaded into the $s# register during the game.

  • Wordle Judgment Method

Ⅰ. Judge the abnormal input.

Ⅱ. Determine how many plays a player has left

Ⅲ. The first loop determines if it's completely correct,If you're absolutely right, you win outright.

Ⅳ. The second loop judges each input individually, first determining if it is of exactly the right type, and if not then determining if it is inside the character

About

A midterm project by MIPS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published