GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.
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
{0: 'tench, Tinca tinca', | |
1: 'goldfish, Carassius auratus', | |
2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias', | |
3: 'tiger shark, Galeocerdo cuvieri', | |
4: 'hammerhead, hammerhead shark', | |
5: 'electric ray, crampfish, numbfish, torpedo', | |
6: 'stingray', | |
7: 'cock', | |
8: 'hen', | |
9: 'ostrich, Struthio camelus', |
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/env python3 | |
''' | |
ryCamera.py | |
using pygame's camera module | |
you can capture a picture from the camera | |
and then it is possible | |
to make MNist task become real-time system | |
Renyuan, 2014/12/12 |
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, random, sys | |
from pygame.locals import * | |
視窗寬度 = 1200 | |
視窗高度 = 700 | |
初始標題顏色 = (0, 0, 0) | |
背景顏色 = (255, 255, 255) | |
敵方速度 = 40 | |
敵方體型最小值 = 30 | |
敵方體型最大值 = 80 |
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, sys, time, math, pygame | |
from pygame.locals import * | |
FPS = 30 | |
視窗寬 = 640 | |
視窗高 = 480 | |
半視窗寬 = int(視窗寬 / 2) | |
半視窗高 = int(視窗高 / 2) | |
草地顏色 = (24, 255, 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
""" | |
遊戲名稱:推星星 | |
學號:B01290621 | |
姓名:賴琮仁 | |
作業編號:期末專題報告 | |
完成時間:2014.6.20 | |
""" | |
import random, sys, copy, os, pygame | |
from pygame.locals import * |
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, random, sys | |
from pygame.locals import * | |
視窗寬度 = 1200 | |
視窗高度 = 700 | |
初始標題顏色 = (0, 0, 0) | |
背景顏色 = (255, 255, 255) | |
敵方速度 = 40 | |
敵方體型最小值 = 30 | |
敵方體型最大值 = 80 |
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
''' | |
學號:B0129002 | |
姓名:周鈺婷 | |
作業編號:期末project | |
程式名稱:Simulate | |
完成時間: | |
''' | |
import random, sys, time, pygame | |
from pygame.locals import * |
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
# Wormy (a Nibbles clone) | |
# By Al Sweigart al@inventwithpython.com | |
# http://inventwithpython.com/pygame | |
# Released under a "Simplified BSD" license | |
#B0129051 施竣凱 增加了一些原本沒有的功能 | |
import random, pygame, sys | |
from pygame.locals import * |
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
#B0129063 | |
#資工二 | |
#陳立崇 | |
# Squirrel Eat Squirrel (a 2D Katamari Damacy clone) | |
# By Al Sweigart al@inventwithpython.com | |
# http://inventwithpython.com/pygame | |
# Released under a "Simplified BSD" license | |
import random, sys, time, math, pygame |
NewerOlder