# Playground
專門用來快速在畫板上塗塗抹抹的專案。
## Getting Started
摳出來成為你自己的新專案後,可用以下幾種工具(在/libs裏的工具)快速畫圖。
```typescript
// 畫一個紅色的圓
draw.circle(0, 0, 100, {fillColor: 0xFF0000});
// 打開一個確認視窗
dialog.confirm('Are you sure?', 'Click confirm if you think it is ok.')
.then((confirm) => {
if(confirm) {
console.log('User confirmed.');
}
});
// 收集資料畫長條圖
let dataCollector = new DataCollector();
dataCollector.addData('一月', 1, 2);
dataCollector.addData('二月', 2, 10);
dataCollector.addData('三月', 3, 5);
dataCollector.addData('四月', 4, 6);
dataCollector.showChart('第一季', 'bar');
```
# Changelog (pixel_snake)
## [v0.1.1](/view/pixel_snake/0.1.1) (2022-12-17)
#### Added
- new features added
#### Changed
- what were changed
#### Fixed bugs:
- bugs that are fixed
## [v0.1.0](/view/pixel_snake/0.1.0) (2022-12-12)
#### Added
- new features added
#### Changed
- what were changed
#### Fixed bugs:
- bugs that are fixed
## Authors
**[Haskasu](/profile/113321052805704333314@google)**