“it is strongly recommended that you have already completed
Project 7: FoxySearch before starting this one, because a lot of
theory is shared.“With that out of the way, let’s begin!
“First steps
“Create a new MonoDevelop console project and call it Questions.
From the Solution pane, right-click on References then choose Edit
References – as with the FoxySearch project, you need to add a
reference to Mono.Data.Sqlite to enable all the functionality for
working with SQLite databases.“The first thing our app needs to do is connect to the database,
creating it if doesn’t already exist. What’s more, we’re going to
seed the database with a simple question that gets the game going.
Whereas before, we were just working with Firefox’s table layout,
we now need to make our own table based on what we need. There are
all sorts of ways you could make this, but we’re going to shoot for
something that’s very easy to understand – our table will store the
following data:”
Hudzilla Coding Academy: Project Eight
By
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis