Skip to content

Latest commit

 

History

History
137 lines (111 loc) · 2.28 KB

levels.md

File metadata and controls

137 lines (111 loc) · 2.28 KB

Levels and Game modes

Suggested game modes

Campaign

This one is expected to be a primary level-based game mode. See Levels

Endless

This is already implemented MVP

Time-attack

Mode that is reasonable to have: match as many words in time limit

Suggested game menu structure

graph TD

    Wordis-->Campaign
	Wordis-->Endless-play
	Wordis-->Time-attack
	Wordis-->Settings

	Campaign-->Level-0
	Campaign-->Level-1
	Campaign-->Level-X
Loading

Campaign levels

Level 0

- Complete the `cat` automatically without the user input
- Provide popup commentary on what is going on:
    - your goal is to match words
    - swipe right, left, or down
    - word is matched, you are hero!

Level 1 (basic palindromes)

Use palindromes to simplify the goal
- lol
- wow
- eve
 -mom
 -dad
- gig
- pop
- pup
- ewe
- did
- gig
- bob

Level 2 (4letter palindromes)

- anna
- poop
- deed
- boob
- esse
- kook
- noon

Level 3 (Short animals)

possible goals:

  1. match exact word
  2. find N animals
    • cat
    • dog
    • rat
    • pup
    • pig
    • bee
    • cow
    • owl
    • fox
    • Bat
    • elk
    • Ant
    • Fly

Level 4 (Longer animals)

Level X (5letter palindromes)

-civic
-madam
-level
-radar
-refer

Level X (Water mode)

Levels(Modes) Technical design

classDiagram

class GameSettings{
    +Int height
    +Int width
}

class LetterSource{
    +next() Char
}

class WordisGame{
    +LetterSource letters
    +GameSettings settings
}

class WordisGameLevel{
    +Int speed
    +WordSource wordsSource
    +GameSettings settings
    +WordisGame game
	+String QuestFormulation
	+String Title
	+Func<WordisGame, bool> completionPredicate
	-----
	+IsUnlocked
	+MaxScore
}

class WordSource{
	+next() Char
}

WordSource <|-- LetterSource : providing letters for actual `quest` words

WordisGame <|-- WordisGameLevel

WordisGame --> LetterSource
WordisGame --> GameSettings
WordisGameLevel --> GameSettings

WordisGameLevel --> WordisGame : Proxy extending functionality
WordisGameLevel --> WordSource

Loading