Skip to content

Commit

Permalink
Padoru Padoru
Browse files Browse the repository at this point in the history
  • Loading branch information
leomotors committed Dec 24, 2021
1 parent 0722abe commit 932b6a8
Show file tree
Hide file tree
Showing 7 changed files with 353 additions and 285 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All change except updating data will be noted here

## [1.1.50] - 2021-12-24

- 走れそりよ 風のように 月見原を パドルパドル! (Added Padoru Padoru Roll, December Exclusive)

## [1.1.49] - 2021-11-27

- Added 200-800 Ranged Score
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ Just a Normal Captcha, _you are not a robot? Then pass this Captcha!_

Featuring 3 Quizzes to test if you are a Robot

## Reference
## 🍅 Reference

<img src="https://pbs.twimg.com/media/EXqFcdtWAAETZwC.jpg" height="300px" />

<br />

<img src="https://titterfun.com/api/assets/image/zmmkr837ciax.jpg" height="350px" />

## Want to Contribute? See Here!
## Want to Contribute? See Here!

[Contributing Guideline](./CONTRIBUTING.md)

## API
## 🌐 API

/api/get : Get Questions just like how the app would retrieve data

Expand All @@ -26,7 +26,7 @@ Featuring 3 Quizzes to test if you are a Robot

/api/insight : Get Insight about the data ex. Questions Count

## To Run Locally (prerequisites: nodejs, npm, yarn, vercel)
## 🔼 To Run Locally (prerequisites: nodejs, npm, yarn, vercel)

- yarn install

Expand Down
25 changes: 12 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "anime-captcha",
"version": "1.1.49",
"version": "1.1.50",
"type": "module",
"scripts": {
"dev": "yarn config:pkg && vite --port $PORT",
Expand All @@ -20,24 +20,23 @@
},
"homepage": "https://github.com/Leomotors/anime-captcha",
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.30",
"@tsconfig/svelte": "^2.0.1",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.32",
"@typescript-eslint/eslint-plugin": "^5.8.0",
"@typescript-eslint/parser": "^5.8.0",
"@vercel/node": "^1.12.1",
"eslint": "^8.2.0",
"svelte": "^3.44.2",
"svelte-check": "^2.2.10",
"svelte-preprocess": "^4.9.8",
"eslint": "^8.5.0",
"svelte": "^3.44.3",
"svelte-check": "^2.2.11",
"svelte-preprocess": "^4.10.1",
"tslib": "^2.3.1",
"typescript": "^4.5.2",
"vite": "^2.6.14"
"typescript": "^4.5.4",
"vite": "^2.7.6"
},
"dependencies": {
"bootstrap": "^5.1.3",
"chalk": "^4.1.2",
"chalk": "^5.0.0",
"leomotors-automation": "^1.0.1",
"node-sass": "^6.0.1",
"node-sass": "^7.0.0",
"sveltestrap": "^5.6.3"
}
}
Binary file removed public/favicon.ico
Binary file not shown.
10 changes: 10 additions & 0 deletions src/components/NotARobot.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@
let boxClicked = false;
let RickRolled = false;
let SuperIdoled = false;
let Padoru = false;
function setBoxClicked() {
boxClicked = true;
const randed = Math.random();
// 6% Chance for Rick Roll and 4% for Super Idol
// Extra 10% for Padoru in December
if (randed < 0.06) RickRolled = true;
else if (randed < 0.1) SuperIdoled = true;
else if (randed < 0.2 && new Date().getMonth() == 11) Padoru = true;
else dispatch("start");
}
</script>
Expand All @@ -34,6 +37,13 @@
roll="Super Idoled"
chance="4"
/>
{:else if Padoru}
<RickRoll
title="パドルパドル"
url="JAHTCjCInJ0"
roll="Padoru Padoruられる"
chance="10"
/>
{:else}
{#if boxClicked}
<Spinner color="primary" />
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"extends": "@tsconfig/svelte/tsconfig.json",
"compilerOptions": {
"target": "esnext",
"useDefineForClassFields": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"baseUrl": ".",
/**
Expand Down
Loading

1 comment on commit 932b6a8

@vercel
Copy link

@vercel vercel bot commented on 932b6a8 Dec 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.