Help with Simon game logic

I'm trying to code this game: https://github.com/dotnet/dotnet-console-games/tree/main/Projects/Simon

I'm currently stuck on trying to add a pattern to a list.
Currently I have an array (string[] Renders) that holds each frame state of the game and a method that shows one of the patterns randomly.

My thought process on the game logic is that after every pattern is shown and correctly repeated, it is added to the list. Rinse and repeat, but obviously call the list with it's previous pattern history.

Link to code:
https://paste.mod.gg/qieexdztawyd/0
GitHub
Game examples implemented as .NET console applications primarily for providing education and inspiration. :) - dotnet-console-games/Projects/Simon at main · dotnet/dotnet-console-games
A tool for sharing your source code with the world!
Was this page helpful?