Nidan23 / wasp_spelling

0 stars 0 forks source link

Create word creating algorithm #2

Open Nidan23 opened 1 year ago

Nidan23 commented 1 year ago

Letter choosing algorithm. From these letters end user will create words

Nidan23 commented 1 year ago

Special character includition based on random number generator

Nidan23 commented 1 year ago

Database word table:

ID WORD LETTERS
1 ASS AS
2 KISS KIS
3 KISSABLE KISABLE

Example SQL with letters K, I, S, A, B, L, E. Letters sorted alphabetically, so should look like: A, B, E, I, K, L, S.

SQL: SELECT WORD FROM WORDS WHERE LETTERS IN ("A", "B", "E", "AA", "AB", "AE") -> etc. till the end. WIP, but this is a draft

Nidan23 commented 1 year ago

Most of the properties will be stored in the database, for bettter use & easier change, new game modes