Skip to content

frantic1048/Robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robot

C++ 作业,模拟机器人巡逻。

所有机器人逻辑由 C++ 编写成,通过 Emscripten 编译到 asm.js 供调用。在 Electron 中实现图形显示。

构建

环境需求

  • Emscripten
  • Node.js/io.js
  • npm

安装依赖的 node 模块(在此仓库的根目录执行,构建也是)

$npm install

开始构建

$gulp

运行

##Electron

$electron app

##现代浏览器

访问:https://frantic1048.github.com/Robot/