This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
font-family: 'Roboto', sans-serif; | |
} | |
/* This clears any float properties that cause issues for other elements */ | |
.clearfix::after { | |
content: ""; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>{% block title %}{% endblock %}</title> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" | |
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous"> | |
<link rel="preconnect" href="https://fonts.gstatic.com"> | |
<link href="https://fonts.googleapis.com/css2?family=Work+Sans:wght@200;400;700&display=swap" rel="stylesheet"> | |
<link href="{{ url_for('static', filename='css/feedback.css') }}" rel="stylesheet"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame | |
from random import randint | |
FOOD_SIZE = 10 | |
DISPLAY_WIDTH = 640 | |
DISPLAY_HEIGHT = 480 | |
BG_COLOUR = (44, 62, 80) | |
SNAKE_COLOUR = (236, 240, 241) | |
FOOD_COLOUR = (241, 196, 15) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame | |
from random import randint | |
FOOD_SIZE = 10 | |
DISPLAY_WIDTH = 640 | |
DISPLAY_HEIGHT = 480 | |
BG_COLOUR = (44, 62, 80) | |
SNAKE_COLOUR = (236, 240, 241) | |
FOOD_COLOUR = (241, 196, 15) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame | |
from random import randint | |
FOOD_SIZE = 10 | |
DISPLAY_WIDTH = 640 | |
DISPLAY_HEIGHT = 480 | |
BG_COLOUR = (44, 62, 80) | |
SNAKE_COLOUR = (236, 240, 241) | |
FOOD_COLOUR = (241, 196, 15) |