简体   繁体   English

对于想要构建涉及文本输入和音频输出的简单网络游戏的初学者来说,最合适的编程语言是什么?

[英]What would be the most appropiate programming language for a beginner that wants to build simple web games that involves text input and audio output?

First off, apologies if my question is not more precise or clear, but I simply don't have the technical expertise to phrase it correctly. 首先,如果我的问题不太准确或不清楚,我们深表歉意,但我只是没有专业技术来正确地表达它。 Let me try by giving you an example of the kind of app/game/website? 让我通过举一个例子说明一下应用程序/游戏/网站吗? I want to build: 我要建立:

  1. the player starts the game by choosing a level 玩家通过选择一个级别来开始游戏
  2. they hear a phrase, and they have to type it into the box 他们听到一个短语,然后必须在框中输入
  3. if the sentence they have typed in is incorrect (doesn't match the sentence heard), errors will be hightlighted, and they are prompted to try again in a new box. 如果他们键入的句子不正确(与听到的句子不匹配),则会突出显示错误,并提示他们在新框中再次尝试。
  4. when their input is correct, they hear a new sentence and so on 输入正确时,他们会听到一个新句子,依此类推

如果只有网络,则可以使用Javascript(操纵前端)和一些php(例如,如果您需要从数据库中获取音频和句子)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM