Python으로 짠 간단한 주사위 게임
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 import random mymoney = 10000 while 1: print "주사위 게임 Ver 1.0" print " 1. GAME START" print " 0. GAME EXIT" sel = int(raw_input(" >")) if sel == 0: print "=== GAME EXIT ===" break elif sel == 1: print "=== GAME START ===" com = ply = 0 bet = 10 for x in range(3): com += random.randrange(1,7..
프로그램 이야기/Python 이야기
2008. 12. 8. 18:40
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 개발자
- 파이썬
- FLASK
- ie11
- 클라우드
- JS
- 미래
- frontend
- Git
- SQL
- 테크노트
- jQuery
- directive
- SSL
- angular
- Ai
- RUBY
- IE
- SVN
- RESTful
- Branch
- technote
- LightBox
- Python
- 테스트
- vuejs
- 전략
- 브랜치
- NG
- Material
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
글 보관함