GithubHelp home page GithubHelp logo

python-gsoc / python-gsoc.github.io Goto Github PK

View Code? Open in Web Editor NEW
99.0 99.0 120.0 1.88 MB

Website and ideas page for Python's Google Summer of Code efforts

License: Other

HTML 95.15% CSS 4.02% JavaScript 0.83%

python-gsoc.github.io's People

Contributors

aldebran avatar botanicvelious avatar bryngo avatar cewing avatar cyntss avatar haozeke avatar indrora avatar josef-pkt avatar kayhayen avatar larsoner avatar m3nu avatar mec-is avatar meflin avatar mmerickel avatar moguri avatar mr-sunglasses avatar pdxjohnny avatar planrich avatar pulkit07 avatar reimarbauer avatar reingart avatar rgommers avatar saptaks avatar skoudoro avatar sounak98 avatar terriko avatar uellue avatar warthog9 avatar wkerzendorf avatar yaseppochi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

python-gsoc.github.io's Issues

A tiny tiny typo

Hello, I was just reading through this amazing piece of documentation that I found while looking to contribute. It's beyond awesome. As a fellow documentation writer. I think it's great. While reading, I might have found this typo, hence I wanted to confirm in the offchance of me coming out as rude if I am not wrong. Hope, this is okay.

so students who don't listen don't get hired. No do students who are arrogant jerks,

s/no do/nor do

<p>Mentors don't have to be the Best At Everything. A lot of what mentors do is keep students

Following sentence case here, this probably would be best at everything.

feature request: personalized nag/invite emails

As an admin, I'm getting a lot of copies of the same email and because things are bcc'ed it's very difficult to see whose copy I'm looking at to answer questions like "did $mentor get an invite sent out yet?" or "which student's blogs are late?" It would be cool if the email template had some identifying info.

For example, the blog reminder could include something like:

"[contributor name]'s blog for [suborg] hasn't been updated"

And the invites could have something like

"This is an invite for [email] to the PSF GSoC blogging system"

I think it's just the invites and the blog nags that need updating, although it's probably more than one blog nag template that would need the change.

python-gsoc blog page down?

Hi, at least on my end it seems like the blogs page of the python-gsoc website is down. Can anyone else confirm?

Screen Shot 2023-07-02 at 4 03 04 PM

License for this site/content?

Hi folks. Is there any plans to release this site under a FOSS/CC license? It's great material and I'd love to adapt some of it with appropriate credit. :-)

Incorporate a nice looking theme

I'm want to work on giving this website a more modern feel, not now but a few weeks down the line.

I just want to make sure that no one would mind me working on it. Also, is there's anyone I could ping if I stumble upon some issue? :)

Want people for python game development

I am new to this community and I want to develop a python game and that's why I want some users as a guide and a friend .
It will be a good contribution before G-Soc 2020.
Pls collaborate....
Here is the code:-

#argya.spaceimpact@
#Space Impact
#Image for Impact
#Image for Player
#Image for background
#Python on windows
import turtle
import os
import math
import random

#Set up the screen
wn = turtle.Screen()
wn.bgcolor("black")
wn.title("Space Impact")

#Draw border
border_pen = turtle.Turtle()
border_pen.speed(0)
border_pen.color("orange")
border_pen.penup()
border_pen.setposition(-300,-300)
border_pen.pendown()
border_pen.pensize(3)
for side in range(4):
border_pen.fd(600)
border_pen.lt(90)
border_pen.hideturtle()

#Set the score to 0
score = 0

#Draw the score
score_pen = turtle.Turtle()
score_pen.speed(0)
score_pen.color("white")
score_pen.penup()
score_pen.setposition(-290, 280)
scorestring = "Score: %s" %score
score_pen.write(scorestring, False, align="left", font=("Arial", 14, "normal"))
score_pen.hideturtle()

#Create the player turtle
player = turtle.Turtle()
player.color("yellow")
player.shape("square")
player.penup()
player.speed(0)
player.setposition(0, -250)
player.setheading(90)

playerspeed = 15

#Choose a number of enemies
number_of_enemies = 4
#Create an empty list of enemies
enemies = []

#Add enemies to the list
for i in range(number_of_enemies):
#Create the enemy
enemies.append(turtle.Turtle())

for enemy in enemies:

enemy.color("orange")
enemy.shape("triangle")
enemy.penup()
enemy.speed(0)
x = random.randint(-200, 200)
y = random.randint(100, 250)
enemy.setposition(x, y)
enemy.setheading(270)

enemyspeed = 2

#Create the player's bullet
bullet = turtle.Turtle()
bullet.color("yellow")
bullet.shape("circle")
bullet.penup()
bullet.speed(0)
bullet.setheading(90)
bullet.shapesize(0.8, 0.8)
bullet.hideturtle()

bulletspeed = 40

#Define bullet state
#ready - ready to fire
#fire - bullet is firing
bulletstate = "ready"

#Move the player left and right
def move_left():
x = player.xcor()
x -= playerspeed
if x < -280:
x = - 280
player.setx(x)

def move_right():
x = player.xcor()
x += playerspeed
if x > 280:
x = 280
player.setx(x)

def fire_bullet():
#Declare bulletstate as a global if it needs changed
global bulletstate
if bulletstate == "ready":
bulletstate = "fire"
#Move the bullet to the just above the player
x = player.xcor()
y = player.ycor() + 5
bullet.setposition(x, y)
bullet.showturtle()

def isCollision(t1, t2):
distance = math.sqrt(math.pow(t1.xcor()-t2.xcor(),2)+math.pow(t1.ycor()-t2.ycor(),2))
if distance < 15:
return True
else:
return False
#Create keyboard bindings
turtle.listen()
turtle.onkey(move_left, "Left")
turtle.onkey(move_right, "Right")
turtle.onkey(fire_bullet, "space")

#Main game loop
while True:

for enemy in enemies:
	#Move the enemy
	x = enemy.xcor()
	x += enemyspeed
	enemy.setx(x)

	#Move the enemy back and down
	if enemy.xcor() > 280:
		#Move all enemies down
		for e in enemies:
			y = e.ycor()
			y -= 40
			e.sety(y)
		#Change enemy direction
		enemyspeed *= -1
	
	if enemy.xcor() < -280:
		#Move all enemies down
		for e in enemies:
			y = e.ycor()
			y -= 40
			e.sety(y)
		#Change enemy direction
		enemyspeed *= -1
		
	#Check for a collision between the bullet and the enemy
	if isCollision(bullet, enemy):
		#Reset the bullet
		bullet.hideturtle()
		bulletstate = "ready"
		bullet.setposition(0, -400)
		#Reset the enemy
		x = random.randint(-200, 200)
		y = random.randint(100, 250)
		enemy.setposition(x, y)
		#Update the score
		score += 10
		scorestring = "Score: %s" %score
		score_pen.clear()
		score_pen.write(scorestring, False, align="left", font=("Arial", 14, "normal"))
	
	if isCollision(player, enemy):
		player.hideturtle()
		enemy.hideturtle()
		print ("Game Over")
		break

	
#Move the bullet
if bulletstate == "fire":
	y = bullet.ycor()
	y += bulletspeed
	bullet.sety(y)

#Check to see if the bullet has gone to the top
if bullet.ycor() > 280:
	bullet.hideturtle()
	bulletstate = "ready"

delay = raw_input("Press enter to finish.")

Menu Bar misaligned

The right menu bar is slightly misaligned and covers the Gsoc lettering, which looks bad.

js error

ui.js:40 Uncaught TypeError: Cannot set property 'onclick' of null
at ui.js:40
at ui.js:46

firefox 68.0.1 on loading homepage

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.