Skip to content

Instantly share code, notes, and snippets.

View tientq64's full-sized avatar
💭
Coding

Tran Quang Tien tientq64

💭
Coding
View GitHub Profile
@tientq64
tientq64 / gist:b4497616b07e5e6298b499aa5f73d6de
Created March 11, 2024 13:29
Disabled HTML input autocomplete.
"aria-autocomplete": "both"
{"models":[{"name":"ikuyo_"},{"name":"le_chan"},{"name":"akemiito"},{"name":"jelly_w"},{"name":"sonny_killl"},{"name":"ayukimin"},{"name":"asoka_yami"},{"name":"may_tion"},{"name":"lo_vely_su"},{"name":"_lilies_gigi_"},{"name":"chae_youn"},{"name":"my_gumi"},{"name":"icebbyy"},{"name":"asuno_"},{"name":"hina_ren"},{"name":"dontstopfap"},{"name":"mikio_san"},{"name":"xiu_monni"},{"name":"little_yena"},{"name":"lim_kagura"},{"name":"clairebabyy1"},{"name":"akenoleee"},{"name":"abbyroses"},{"name":"nayeonobi"},{"name":"cheaptipmenusexyasian"},{"name":"emyii"},{"name":"skyberry_love"},{"name":"jayleenamaya"},{"name":"miilkywaaay"},{"name":"emmahixlove"},{"name":"elizamaisy"},{"name":"petitegonwild"},{"name":"feli_mely"},{"name":"minaku_yu"},{"name":"mia__swanson"},{"name":"aliiceowen"},{"name":"icecreammsa"},{"name":"devillsandra"},{"name":"hannawason"},{"name":"hanah_cho_cho"},{"name":"yuna_pink"},{"name":"solarglare"},{"name":"milila"},{"name":"candy_ly"},{"name":"hotpink4u04"},{"name":"shyeve2004"},{"name":"ta
Mỹ nhân trong thiên hạ đều tầm thường, chỉ có JavaScript mới làm ta thích thú 😂
(6 * 9) + (6 + 9) == 69

[game] Copycat

Little update, I've updated the visuals during the translation and cleaning of the code :) Made with Diorama

A Pen by Tibo on CodePen.

License.

@tientq64
tientq64 / add.js
Last active October 22, 2023 14:57
Add 2 numbers, fix floating point problem, example: 0.1 + 0.2, not support Node.js :Đ
function add(a, b) {
if (a === 0) return b;
if (b === 0) return a;
let sign = 1;
if (a < 0 && b < 0) {
a = -a;
b = -b;
sign = -1;
}
if (b < 0) {
min + Math.floor(Math.random() * (max - min + 1))
@tientq64
tientq64 / drag-and-drop-succulent-garden-solution.markdown
Created February 22, 2021 14:51
Drag-and-Drop Succulent Garden : Solution

Drag-and-Drop Succulent Garden : Solution

One solution to the Drag and Drop Succulent Garden - Project Outline posted for the Creative Coding Club.

A Pen by Nat Cooper on CodePen.

License.

@tientq64
tientq64 / cub-n-pup-puzzle-game-demo.markdown
Created February 22, 2021 14:43
Cub n Pup - puzzle game demo

Cub n Pup - puzzle game demo

How to play: Drag cub to star, Drag grid to rotate.

Also available at cubnpup.com

This is a proof-of-concept for a game. Basic art, no sound, no options, no polish. But the core game-play is there. It's more of a mobile game, focused on dragging — inspired by Threes. I'm looking to see if its any fun. Let me know!

I've always wanted to make a video game. This could be the one. My previous attempts never got past isolated demos because they were aiming for bigger ideas. They grew complex and unwieldy. So this game is designed to be simple. A game that I can actually make.

@tientq64
tientq64 / index.pug
Created February 22, 2021 14:16
Zdog — Natu (Pokémon)
doctype html
canvas#canvas