CS50 lab2 scrabble 用c语言做一个游戏
一个游戏:拼字游戏两个玩家,每人输入一个单词,看谁得分高。得分标准为框架代码已经给出,需要自己写两个函数:一个是compute_score(string word),另一个是通过比较分数而得出结果。框架代码:#include <ctype.h>#include <cs50.h>#include <stdio.h>#include <string.h>// Points assigned to each letter of t
原创
2022-04-11 01:14:15 ·
3365 阅读 ·
2 评论