python-gsoc / python-gsoc.github.io Goto Github PK
View Code? Open in Web Editor NEWWebsite and ideas page for Python's Google Summer of Code efforts
License: Other
Website and ideas page for Python's Google Summer of Code efforts
License: Other
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.
python-gsoc.github.io/students.html
Line 135 in 8ce4a83
s/no do/nor do
python-gsoc.github.io/mentors.html
Line 156 in 8ce4a83
Following sentence case here, this probably would be best at everything
.
Update time commitment section on students page according to the changes made by Google for Google Summer of Code 2021.
Blog for reference - https://opensource.googleblog.com/2020/10/google-summer-of-code-2021-is-bringing.html
The right menu bar is slightly misaligned and covers the Gsoc lettering, which looks bad.
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. :-)
Please read How to get started with GSoC first!
This repo isn't a great place to look for a first commit during GSoC. (This website isn't a valid GSoC project because there isn't enough code or changes to employ a student for a few months.) You probably want to look at the issue trackers for our sub-orgs. You can see the list of python sub-orgs here. Have fun!
The current design of Idea page is quite plain and lacks visual appeal, which may lead to difficulty in navigating the content.
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.
On Linux + Chrome 79.0.3945.79 and Linux + Firefox 71.0 the python logo is pretty much touching the info box above it. It could probably use a little more space above it (or maybe the info box could use some below? Not sure.)
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.")
I suppose You use debug=True
on this site. Check this link to see error message.
Hi !
At the line 452 of index.html there is this invitation to the slack workspace :
https://join.slack.com/t/python-gsoc/shared_invite/enQtNDg0NDgwNjMyNTE2LTNlOGM1MWY2MzRlMjNhMGM2OWJjYzE3ODRmMmM0MjFjNGJmNGRiYzI4ZDc1ODgxOTYzMDQyNzBiNGFlYWVjZTY
but it is expired. Is it possible to get a new one please ?
Thanks !
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
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? :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.