摘要: In this project, we will build a version ofPong, one of the first arcade video games (1972). While Pong is not particularly exciting compared to today... 阅读全文
posted @ 2015-09-12 22:07 唐雎 阅读(328) 评论(0) 推荐(1) 编辑
摘要: Mini-project description - "Stopwatch: The Game"Our mini-project for this week will focus on combining text drawing in the canvas with timers to build... 阅读全文
posted @ 2015-09-09 18:41 唐雎 阅读(677) 评论(0) 推荐(1) 编辑
摘要: Mini-project description — “Guess the number” gameOne of the simplest two-player games is “Guess the number”. The first player thinks of a secret numb... 阅读全文
posted @ 2015-09-09 11:40 唐雎 阅读(721) 评论(0) 推荐(1) 编辑
摘要: Mini-project description — Rock-paper-scissors-lizard-SpockRock-paper-scissors is a hand game that is played by two people. The players count to three... 阅读全文
posted @ 2015-09-09 11:38 唐雎 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 编程题#1:单词翻转来源: POJ(Coursera声明:在POJ上完成的习题将不会计入Coursera的最后成绩。)注意: 总时间限制: 1000ms 内存限制: 65536kB描述输入一个句子(一行),将句子中的每一个单词翻转后输出。输入只有一行,为一个字符串,不超过500个字符。单词之间以空格... 阅读全文
posted @ 2015-08-31 12:01 唐雎 阅读(1379) 评论(0) 推荐(0) 编辑
摘要: 编程题#4:Tomorrow never knows?来源: POJ(Coursera声明:在POJ上完成的习题将不会计入Coursera的最后成绩。)注意: 总时间限制: 1000ms 内存限制: 65536kB描述甲壳虫的《A day in the life》和《Tomorrow never k... 阅读全文
posted @ 2015-08-30 19:45 唐雎 阅读(660) 评论(0) 推荐(0) 编辑
摘要: 题目内容:一个多项式可以表达为x的各次幂与系数乘积的和,比如:现在,你的程序要读入两个多项式,然后输出这两个多项式的和,也就是把对应的幂上的系数相加然后输出。程序要处理的幂最大为100。输入格式:总共要输入两个多项式,每个多项式的输入格式如下:每行输入两个数字,第一个表示幂次,第二个表示该幂次的系数... 阅读全文
posted @ 2015-01-14 21:17 唐雎 阅读(1232) 评论(0) 推荐(1) 编辑