Giter VIP home page Giter VIP logo

pygalaxy's People

Watchers

 avatar  avatar

pygalaxy's Issues

Initial map algorithm

Original issue 4 created by pjrinaldi on 2012-12-10T20:03:37.000Z:

Need to figure out algorithm to take the number of worlds and randomly place them in a star field of 20x20, then store this information and generate the text display screen accordingly.

display text input to the screen

Original issue 5 created by pjrinaldi on 2013-03-31T22:31:15.000Z:

import sys
import pygame
from pygame.locals import *
pygame.init()

N= ''
screen = pygame.display.set_mode((600,600))
font= pygame.font.Font(None,40)
screen.fill((255,255,255))
pygame.display.flip
pygame.display.update()

def score(C,y):
SetWnd = font.render( C,True,(0,0,255))
screen.blit(SetWnd, (15, 100+y))
pygame.display.update()

def start():
while True:
name=''

    for evt in pygame.event.get():
            if evt.type == KEYDOWN:
                if evt.unicode.isalnum(): # unicode
                    name+=evt.unicode
                    print name,

                elif evt.key == K_BACKSPACE:
                        name = name[:-1]
                        print name,
                elif evt.key == K_RETURN:
                    return N
            elif evt.type == QUIT:
                pygame.quit()
                sys.exit()

def Pchange(c,y):
block = font.render(N, True, (0,0,0))
rect = block.get_rect()
rect.move_ip(75,100 + y)
screen.blit(block,rect)
pygame.display.flip()

score('wind', 0)
score('elev',20)

N = start()
Pchange(N,0)
Pchange(N,20)

User Name/Planet Loop

Original issue 3 created by pjrinaldi on 2012-12-10T20:02:46.000Z:

Loop to take the number of players and assign them letters and store their names.

Research original game

Original issue 2 created by pjrinaldi on 2012-12-03T16:41:24.000Z:

Need to setup and play original galaxy to get idea of sounds and menu options to setup the game.

Sounds

Original issue 1 created by pjrinaldi on 2012-12-02T23:54:54.000Z:

Add sounds where appropriate

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.