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
#! /usr/bin/python | |
import binascii | |
import time | |
import base64 | |
def cconvertToBinary(message): | |
string = message | |
return(bin(int(binascii.hexlify(string), 16))) |
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
#! /usr/bin/python | |
import pygame | |
from pygame import * | |
import time | |
# import random | |
WIN_WIDTH = 800 | |
WIN_HEIGHT = 640 | |
HALF_WIDTH = int(WIN_WIDTH / 2) |
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
#! /usr/bin/python | |
import pygame | |
import tensorflow as tf | |
import cv2 | |
import numpy as np | |
import random | |
from collections import deque | |
#define variables for game |