Use rg tool to search for files efficiently
- Clean, Simple, Maintainable Code
- Favor readability over cleverness
- Prioritize simplicity in design
- Write code that future developers can easily understand
This document describes the architecture and workflow of the card effect system within the Yu-Gi-Oh! Web Duel Interface. The system is responsible for handling the activation, chaining, and resolution of card effects according to Yu-Gi-Oh! rules. It integrates declarative effect definitions (partially implemented via YAML/JSON) with the core game engine logic.
The system aims to manage:
| find . -type f -not -path '*/.*' -path '*.js' -not -path './node_modules*' -not -path 'migrate.js' -exec sed -i '' -e 's/AdjustmentsVerticalIcon/AdjustmentsVerticalIcon/g' {} + | |
| find . -type f -not -path '*/.*' -path '*.js' -not -path './node_modules*' -not -path 'migrate.js' -exec sed -i '' -e 's/ChatBubbleBottomCenterTextIcon/ChatBubbleBottomCenterTextIcon/g' {} + | |
| find . -type f -not -path '*/.*' -path '*.js' -not -path './node_modules*' -not -path 'migrate.js' -exec sed -i '' -e 's/ArchiveBoxIcon/ArchiveBoxIcon/g' {} + | |
| find . -type f -not -path '*/.*' -path '*.js' -not -path './node_modules*' -not -path 'migrate.js' -exec sed -i '' -e 's/ArrowDownCircleIcon/ArrowDownCircleIcon/g' {} + | |
| find . -type f -not -path '*/.*' -path '*.js' -not -path './node_modules*' -not -path 'migrate.js' -exec sed -i '' -e 's/ArrowLeftCircleIcon/ArrowLeftCircleIcon/g' {} + | |
| find . -type f -not -path '*/.*' -path '*.js' -not -path './node_modules*' -not -path 'migrate.js' -exec sed -i '' -e 's/ArrowRightCircleIcon/ArrowRightCircleI |
| TypeScript 21 hrs 47 mins ████████████████▒░░░ 67.1% | |
| Vue.js 6 hrs 21 mins ██████▓░░░░░░░░░░░░░ 19.6% | |
| JSON 2 hrs 10 mins ████▒░░░░░░░░░░░░░░░ 6.7% | |
| JavaScript 46 mins ███▒░░░░░░░░░░░░░░░░ 2.4% |
| /** | |
| * React-Native cross-platform elevations. | |
| * Based on https://ethercreative.github.io/react-native-shadow-generator/ | |
| * | |
| * Usage: | |
| * 1. Import "elevations" from this file | |
| * import { elevations } from "config/elevations"; | |
| * 2. Use it. Assuming you need an elevation of 2 (based on the Android | |
| * elevation standard), doing the following will cast the same shadow | |
| * on both platforms: |
npm install cordova-res --save-dev1024x1024px icon at resources/icon.png2732x2732px splash at resources/splash.png"resources": "cordova-res ios && cordova-res android && node scripts/resources.js" to scripts in package.jsonresources.js file to scripts/resources.jssudo chmod -R 777 scripts/resources.jsnpm run resourcesnpm install cordova-res --save-dev1024x1024px icon at resources/icon.png2732x2732px splash at resources/splash.png"resources": "cordova-res ios && cordova-res android && node scripts/resources.js" to scripts in package.jsonresources.js file to scripts/resources.jssudo chmod -R 777 scripts/resources.jsnpm run resources| upload(files) { | |
| const config = { | |
| onUploadProgress: function(progressEvent) { | |
| var percentCompleted = Math.round((progressEvent.loaded * 100) / progressEvent.total) | |
| console.log(percentCompleted) | |
| } | |
| } | |
| let data = new FormData() | |
| data.append('file', files[0]) |
| # See http://help.github.com/ignore-files/ for more about ignoring files. | |
| # compiled output | |
| /dist | |
| /tmp | |
| /out-tsc | |
| # Runtime data | |
| pids | |
| *.pid |