Day 7
Game design: presentations
Seok Yun & Marcus: tic tac toe
- use Turtle to draw graphical interface
- randomly generated robot moves
- problems: robot draws additional circle at the end
- Reflection: got more used to using functions
Shawn & Clinton: snake game
- Base of the game is from online code
- But most of the code is modified
- Problems: Sound effects didn't work
- Reflection: Was able to learn Pygame through examining the online code
Richard: snake game
- improvised used Shell to initiate the game
- Based of game is from online code, title screen & loop for the game are from scratch
Edwin: dodging game
- Dodge things that spawn from the screen
Sherman & Marcus: choose your own adventure
- choose your own adventure game
- incorporates ASCII art! (Daisy finds this very cool)
- Reflections from Angelo: shows that good games don't have to be extremely complex, be sure about your goal before you make your program.
Queena & Jasmine: hangman
- Used Turtle to draw the person
- Learned a lot of new things (except for print, loops, and functions)
Datasets
Google Dataset
- Can be found here
- a new service provided by Google that lets you search through datasets
- Note: pay attention to the file type!
- try to look for .csv files
Kaggle
- Can be found here
- Note: you will have to make an account (preferably using your school email account
McDonald's Example
- Use the data found here
- download the .csv file, then place it in the same folder where you store your Jupyter Notebooks
- we will be using the Pandas library to handle all of the data
import pandas as pd
- dataframes in pandas
- similar to a spreadsheet
- two dimensional
More on filetypes
- plaintext files
- only contain ASCII files
- .csv
- comma separated values
- all values seperated by commas
- technically a plaintext file as it only has ASCII characters
- comma separated values
McDonald's example
A link to an annotated Jupyter Notebook of the McDonald's example can be found here.
Homework
Be ready to explore more things with pandas and matplotlib tomorrow!