SEMOSS / Semoss_new_hire

Used to onboard new hires. Prevent added noise to the Semoss repo to prevent confusion. This is a way to teach the git remote workflow and check pull requests that aren't intended for Semoss but rather to train new hires. This also, will allow us to not confuse admins of the main Semoss repo with nonsensical pull requests.
Apache License 2.0
0 stars 0 forks source link

Random Word Find 2.0 #4

Open EJV20 opened 4 weeks ago

EJV20 commented 4 weeks ago

Description

Create a new Branch but do not push the branch

Create a table in the Security DB that holds a grid of random letters in any X by X format (5x5, 4x8, 2x10... etc) think Word hunt or Boggle. Also create another table containing a list of found words for each board.

Try to do as many as you can out of these four: In addition to random letters, each board holds a single special Piece in a random location. This special piece does 1 of 4 things.

blocker (you cannot use this piece as it is not a letter) pass through (you can go any direction from it to continue your word but you cannot reuse a previous block) diagonal piece (you can go in a diagonal direction next) turn around spot (you go back to your previous letter and can reuse it). (Bonus) Harder special pieces I would do this last and only if you're bored

Space piece (Allows the creation of any two word combination like "lamp post", "electric wire", or "apple mango") Free space (Can be any letter) Create a reactor that takes in the name of the board, any dimensions, generates a board, and saves it to the DB.

Create a reactor that takes in the board name and returns all possible words associated with the board. If the board isn't solved, save solved words to the security DB. If it is solved, query the DB and return the word list.

When done, push your branch and create a pull request, let whoever administered the test know you are ready for a code review.

Existing AbstractSecurityUtils.init() is where the database is layout is specified. SecurityOwlCreator is also relevant list of all English words: https://[raw.githubusercontent.com/dwyl/english-words/master/words_alpha.txt](https://raw.githubusercontent.com/dwyl/english-words/master/words_alpha.txt)

tonylindeloitte commented 2 weeks ago

Description

Create a new Branch with your name and task. For example: git checkout -b ejv20-4

Create a table in the Security DB that holds a grid of random letters in any X by X format (5x5, 4x8, 2x10... etc) think Word hunt or Boggle. Also create another table containing a list of found words for each board.

Try to do as many as you can out of these four: In addition to random letters, each board holds a single special Piece in a random location. This special piece does 1 of 4 things.

blocker (you cannot use this piece as it is not a letter) pass through (you can go any direction from it to continue your word but you cannot reuse a previous block) diagonal piece (you can go in a diagonal direction next) turn around spot (you go back to your previous letter and can reuse it). (Bonus) Harder special pieces I would do this last and only if you're bored

Space piece (Allows the creation of any two word combination like "lamp post", "electric wire", or "apple mango") Free space (Can be any letter) Create a reactor that takes in the name of the board, any dimensions, generates a board, and saves it to the DB.

Create a reactor that takes in the board name and returns all possible words associated with the board. If the board isn't solved, save solved words to the security DB. If it is solved, query the DB and return the word list.

When done, push your branch and create a pull request, let whoever administered the test know you are ready for a code review.

To push from your local Semoss repo, to the remote Semoss_new_hire repo you can do the following:

git remote add newHire https://github.com/SEMOSS/Semoss_new_hire git push newHire Then go to Github to make a pull request Existing AbstractSecurityUtils.init() is where the database is layout is specified. SecurityOwlCreator is also relevant list of all English words: https://[raw.githubusercontent.com/dwyl/english-words/master/words_alpha.txt](https://raw.githubusercontent.com/dwyl/english-words/master/words_alpha.txt)