# 大富翁 **Repository Path**: day0stack/richman ## Basic Information - **Project Name**: 大富翁 - **Description**: JavaScript编写的大富翁游戏 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 5 - **Forks**: 1 - **Created**: 2022-04-19 - **Last Updated**: 2023-10-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 大富翁游戏 ### 介绍 使用 JavaScript 编写的大富翁游戏 ### 选项 | 属性 | 描述 | | ------ | -------------- | | root | 根节点 | | size | 画布大小 | | len | 单个图片的长度 | | colors | 玩家颜色 | | names | 玩家名称 | ### 示例 ```javascript new Richman({ root: document.querySelector("#app"), size: 700, len: 100, colors: ["#c0392b", "#d35400", "#2980b9"], names: ["Zhangsan", "Lisi", "WangWu"], }); ``` ### 效果 ![项目展示](https://gitee.com/day0stack/richman/raw/master/show.JPG)