This file contains 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, sys, time, math | |
from pygame.locals import * | |
pygame.init() | |
size = width, height = 1000,600 | |
black = 0,0,0 | |
brown = 168,132,32 | |
grey = 119,119,119 |
This file contains 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, sys, time, math, random, os | |
from pygame.locals import * | |
pygame.init() | |
size = width, height = 1000,600 | |
black = 0,0,0 | |
brown = 168,132,32 | |
grey = 119,119,119 |
This file contains 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, sys, time, math | |
from pygame.locals import * | |
pygame.init() | |
size = width, height = 1000,600 | |
black = 0,0,0 | |
brown = 168,132,32 | |
grey = 119,119,119 |
This file contains 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, sys, time, math, random, os | |
from pygame.locals import * | |
pygame.init() | |
size = width, height = 1150,600 | |
black = 0,0,0 | |
brown = 168,132,32 | |
grey = 119,119,119 |
This file contains 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 random | |
print("Poem Generator") | |
noun = open("Words\Boun.txt", "r") | |
n = noun.readlines() | |
noun.close() | |
verb = open("Words\Berbs.txt", "r") | |
v = verb.readlines() | |
verb.close() |
This file contains 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, sys, time | |
from pygame.locals import * | |
pygame.init() | |
white = 255,255,255 | |
red = 255,0,0 | |
black = 0,0,0 | |
blue = 0,0,255 | |
Orange = 255,185,0 |
This file contains 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
package com.example.jim.tictactoe; | |
/** | |
* Created by Jim on 2014/11/1 | |
*/ | |
public class Logic { | |
public static final int PLAYER_X = 1; | |
public static final int PLAYER_O = 0; | |
public static final int EMPTY = -1; | |
public static final int PLAYER_X_WIN = 2; | |
public static final int PLAYER_O_WIN = 3; |
This file contains 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, sys, time | |
from pygame.locals import * | |
## Initialize Pygame | |
pygame.init() | |
## Set Values for screen | |
size = width, height = 1000, 600 | |
s = pygame.display.set_mode(size) |
This file contains 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, sys, winsound, time | |
pygame.init() | |
size = width, height = 865, 365 | |
s = pygame.display.set_mode(size) | |
class Notes(pygame.sprite.Sprite): | |
def __init__(self, x, y, colour, sound_control): |
This file contains 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, sys, random, time | |
from pygame.locals import * | |
pygame.init() | |
size = width, height = 400,600 | |
screen = pygame.display.set_mode(size) | |
picked_letter = [] |
OlderNewer